From 79915ab6d7898d4139f2ed74da94de05b0d50131 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Mon, 6 Mar 2017 17:32:15 +0100 Subject: [PATCH] remove useless variables --- Mesh_3/include/CGAL/Mesh_3/Mesh_global_optimizer.h | 2 -- Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h | 1 - 2 files changed, 3 deletions(-) diff --git a/Mesh_3/include/CGAL/Mesh_3/Mesh_global_optimizer.h b/Mesh_3/include/CGAL/Mesh_3/Mesh_global_optimizer.h index 4241cfcf352..de01bb08b5b 100644 --- a/Mesh_3/include/CGAL/Mesh_3/Mesh_global_optimizer.h +++ b/Mesh_3/include/CGAL/Mesh_3/Mesh_global_optimizer.h @@ -936,8 +936,6 @@ update_mesh(const Moves_vector& moves, it != moves.end() ; ++it ) { - typename Gt::Construct_point_3 wp2p = Gt().construct_point_3_object(); - const Vertex_handle& v = cpp11::get<0>(*it); const Weighted_point& new_position = cpp11::get<1>(*it); // Get size at new position diff --git a/Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h b/Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h index 670d461f374..00a50e24302 100644 --- a/Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h +++ b/Mesh_3/include/CGAL/Mesh_3/Triangulation_helpers.h @@ -157,7 +157,6 @@ no_topological_change(const Tr& tr, const Weighted_point& p, Cell_vector& cells_tos) const { - Tr::Geom_traits::Construct_point_3 wp2p = tr.geom_traits().construct_point_3_object(); bool np = true; const Weighted_point fp = v0->point(); v0->set_point(p);