From 6e66f6bb152e37e5f80b7ee5f6029a981066f765 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 8 Feb 2018 07:40:23 +0000 Subject: [PATCH] Fix two warnings about unused variable/parameter --- Arrangement_on_surface_2/include/CGAL/Arr_curve_data_traits_2.h | 2 +- .../CGAL/boost/graph/convert_nef_polyhedron_to_polygon_mesh.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_curve_data_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_curve_data_traits_2.h index b8b5ab5c530..4789c7c08cb 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_curve_data_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_curve_data_traits_2.h @@ -415,7 +415,7 @@ public: template typename boost::enable_if_c::value, X_monotone_curve_2>::type - construct_opposite(const X_monotone_curve_2& cv) const + construct_opposite(const X_monotone_curve_2&) const { CGAL_error_msg("Construct opposite curve is not supported!"); return X_monotone_curve_2(); diff --git a/BGL/include/CGAL/boost/graph/convert_nef_polyhedron_to_polygon_mesh.h b/BGL/include/CGAL/boost/graph/convert_nef_polyhedron_to_polygon_mesh.h index 888de1c2149..1e999faf920 100644 --- a/BGL/include/CGAL/boost/graph/convert_nef_polyhedron_to_polygon_mesh.h +++ b/BGL/include/CGAL/boost/graph/convert_nef_polyhedron_to_polygon_mesh.h @@ -95,7 +95,6 @@ struct Shell_polygons_visitor std::size_t get_cycle_length( typename Nef_polyhedron::Halffacet_cycle_const_iterator hfc) const { - typename Nef_polyhedron::SHalfedge_const_handle h(hfc); typename Nef_polyhedron::SHalfedge_around_facet_const_circulator hc_start(hfc), hc_end(hc_start); std::size_t i=0; CGAL_For_all(hc_start,hc_end)