From cc454b63867e72233a5ce0b05e4dc76224a3879c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 13 Aug 2012 13:49:10 +0000 Subject: [PATCH] remove double init --- .../include/CGAL/Surface_mesh_segmentation.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Surface_mesh_segmentation/include/CGAL/Surface_mesh_segmentation.h b/Surface_mesh_segmentation/include/CGAL/Surface_mesh_segmentation.h index 793ab8365d4..d2e2879a618 100644 --- a/Surface_mesh_segmentation/include/CGAL/Surface_mesh_segmentation.h +++ b/Surface_mesh_segmentation/include/CGAL/Surface_mesh_segmentation.h @@ -483,7 +483,6 @@ protected: sdf_of_neighbors.push_back(get(sdf_values, it->first)); } // Find median. - double median_sdf = 0.0; int half_neighbor_count = sdf_of_neighbors.size() / 2; std::nth_element(sdf_of_neighbors.begin(), sdf_of_neighbors.begin() + half_neighbor_count, sdf_of_neighbors.end());