mirror of https://github.com/CGAL/cgal
fix warnings about unused variables
This commit is contained in:
parent
6dedc9e451
commit
f2f7aa6874
|
|
@ -40,9 +40,9 @@ int main(int argc, char** argv)
|
|||
std::cerr << intersected_tris.size() << " pairs of triangles intersect." << std::endl;
|
||||
|
||||
timer.reset();
|
||||
CGAL_assertion_code(bool intersecting_2 =
|
||||
bool intersecting_2 =
|
||||
CGAL::Polygon_mesh_processing::does_self_intersect(poly,
|
||||
CGAL::Polygon_mesh_processing::parameters::vertex_index_map(get(CGAL::vertex_point, poly))));
|
||||
CGAL::Polygon_mesh_processing::parameters::vertex_index_map(get(CGAL::vertex_point, poly)));
|
||||
|
||||
CGAL_assertion(intersecting_1 == intersecting_2);
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,8 @@ void read_poly_with_borders(const char* file_name, Polyhedron& poly, std::vector
|
|||
border_reps.push_back(h);
|
||||
Halfedge_around_facet_circulator hf_around_facet(h,poly), done(hf_around_facet);
|
||||
do {
|
||||
bool insertion_ok = border_map.insert(*hf_around_facet).second;
|
||||
CGAL_assertion_code(bool insertion_ok = )
|
||||
border_map.insert(*hf_around_facet).second;
|
||||
CGAL_assertion(insertion_ok);
|
||||
} while(++hf_around_facet != done);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue