Merge pull request #2805 from afabri/CGAL-unused_variable_or_paramter-GF

Fix two warnings about unused variable/parameter
This commit is contained in:
Laurent Rineau 2018-02-14 15:34:55 +01:00
commit ecbfa0a33f
2 changed files with 1 additions and 2 deletions

View File

@ -415,7 +415,7 @@ public:
template <typename GeomeTraits_2>
typename boost::enable_if_c<!has_construct_opposite_2<GeomeTraits_2>::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();

View File

@ -96,7 +96,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)