From 0bbb6c6f4eb79d7de267dcbd7cd3e827deaa8cd6 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Wed, 9 Dec 2020 14:34:14 +0100 Subject: [PATCH] Fix some warnings --- BGL/test/BGL/test_bgl_read_write.cpp | 4 ---- .../include/CGAL/Linear_cell_complex_constructors.h | 2 +- Polyhedron/include/CGAL/IO/Polyhedron_scan_OFF.h | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/BGL/test/BGL/test_bgl_read_write.cpp b/BGL/test/BGL/test_bgl_read_write.cpp index 065cd0f4dae..de6fd4918bb 100644 --- a/BGL/test/BGL/test_bgl_read_write.cpp +++ b/BGL/test/BGL/test_bgl_read_write.cpp @@ -282,7 +282,6 @@ void test_bgl_OFF(const char* filename) { assert(get(vnm2, v) != CGAL::NULL_VECTOR); assert(get(vcm2, v) != CGAL::Color()); - assert(get(vtm2, v) != Point_2()); } for(const auto f : faces(fg)) @@ -306,7 +305,6 @@ void test_bgl_OFF(const char* filename) { assert(get(vnm, v) != CGAL::NULL_VECTOR); assert(get(vcm, v) != CGAL::Color()); - assert(get(vtm, v) != Point_2()); } // write with OFF { @@ -334,7 +332,6 @@ void test_bgl_OFF(const char* filename) { assert(get(vnm2, v) != CGAL::NULL_VECTOR); assert(get(vcm2, v) != CGAL::Color()); - assert(get(vtm2, v) != Point_2()); } for(const auto f : faces(fg2)) @@ -366,7 +363,6 @@ void test_bgl_OFF(const char* filename) { assert(get(vnm2, v) != CGAL::NULL_VECTOR); assert(get(vcm2, v) != CGAL::Color()); - assert(get(vtm2, v) != Point_2()); } for(const auto f : faces(fg2)) diff --git a/Linear_cell_complex/include/CGAL/Linear_cell_complex_constructors.h b/Linear_cell_complex/include/CGAL/Linear_cell_complex_constructors.h index c8c0f8aa49d..1505ca79733 100644 --- a/Linear_cell_complex/include/CGAL/Linear_cell_complex_constructors.h +++ b/Linear_cell_complex/include/CGAL/Linear_cell_complex_constructors.h @@ -197,7 +197,7 @@ namespace CGAL { for (i=0; i:: operator()(HDS& target) for(i=0; i