From 2cf6ef07f15ce46f9eb3a1631b45f135a8e8a565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 8 Dec 2010 07:21:28 +0000 Subject: [PATCH] avoid unused var warning --- .../test/Alpha_shapes_3/include/CGAL/_count_alpha.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Alpha_shapes_3/test/Alpha_shapes_3/include/CGAL/_count_alpha.h b/Alpha_shapes_3/test/Alpha_shapes_3/include/CGAL/_count_alpha.h index ddede4bca6c..d7bdf96990c 100644 --- a/Alpha_shapes_3/test/Alpha_shapes_3/include/CGAL/_count_alpha.h +++ b/Alpha_shapes_3/test/Alpha_shapes_3/include/CGAL/_count_alpha.h @@ -193,13 +193,11 @@ count_faces(const AS &A, bool verbose) + count_interior_vertices == A.number_of_vertices()); } - std::size_t ncc = A.number_of_solid_components(); - if (count_cells >= 1 && A.get_mode()== Alpha_shape_3::REGULARIZED) { //this relation might not be valid for any alpha_shape // if connected components are touching // through an edge or a vertex - assert(count_regular_facets == 2*count_regular_vertices - 4*ncc); + assert(count_regular_facets == 2*count_regular_vertices - 4*A.number_of_solid_components()); } }