From 5392c3f8f7f6f2ac6dfbf167c20d94e80446ad44 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 12 Oct 2022 08:10:47 +0100 Subject: [PATCH] selection --- BGL/include/CGAL/boost/graph/selection.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/BGL/include/CGAL/boost/graph/selection.h b/BGL/include/CGAL/boost/graph/selection.h index 2604e4cf223..b641eb14a90 100644 --- a/BGL/include/CGAL/boost/graph/selection.h +++ b/BGL/include/CGAL/boost/graph/selection.h @@ -207,13 +207,11 @@ struct Regularization_graph prevent_unselection (prevent_unselection) { labels.reserve(num_faces(fg)); - std::size_t nb_selected = 0; for (fg_face_descriptor fd : faces(fg)) { if (get(is_selected_map,fd)) { labels.push_back(1); - ++ nb_selected; } else labels.push_back(0);