fix unused variable warnings

This commit is contained in:
Jane Tournois
2015-07-03 13:54:01 +02:00
parent 4c54b2ec26
commit cf60dd41f1
3 changed files with 14 additions and 17 deletions
@@ -34,13 +34,13 @@ void test(const char* filename)
}
//try to fair the mesh
std::size_t nbv = std::distance(vertices(poly).first
, vertices(poly).second);
CGAL_assertion_code(std::size_t nbv =
std::distance(vertices(poly).first, vertices(poly).second));
CGAL::Polygon_mesh_processing::fair(poly, vertices(poly));
std::size_t nbv2 = std::distance(vertices(poly).first
, vertices(poly).second);
CGAL_assertion_code(std::size_t nbv2 =
std::distance(vertices(poly).first, vertices(poly).second));
CGAL_assertion(nbv == nbv2);