From bc4ca5b218dcfa9c798282a756ee85f77976390c Mon Sep 17 00:00:00 2001 From: Eric Berberich Date: Sun, 8 Jul 2012 10:30:22 +0000 Subject: [PATCH] silent some compiler warnings --- .../include/CGAL/Arr_algebraic_segment_traits_2.h | 2 +- .../CGAL/Curved_kernel_via_analysis_2/Generic_arc_2.h | 4 ++-- .../CGAL/Curved_kernel_via_analysis_2/Generic_point_2.h | 4 ++-- .../Curved_kernel_via_analysis_2/Sweep_curves_adapter_2.h | 5 +++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_algebraic_segment_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_algebraic_segment_traits_2.h index 6cd6fff05b1..d7e37c73944 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_algebraic_segment_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_algebraic_segment_traits_2.h @@ -65,7 +65,7 @@ public: // Copy constructor - Arr_algebraic_segment_traits_2 (const Self& s) { /* No state...*/} + Arr_algebraic_segment_traits_2 (const Self& /* s */) { /* No state...*/} // Assignement operator const Self& operator= (const Self& s) diff --git a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_arc_2.h b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_arc_2.h index 46765905157..3a9dc9ea548 100644 --- a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_arc_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_arc_2.h @@ -279,7 +279,7 @@ public: template std::ostream& operator << (std::ostream& os, - const Generic_arc_2& arc) { + const Generic_arc_2& arc) { os << arc.id() << "@"; if(arc.is_degenerate()) @@ -291,7 +291,7 @@ std::ostream& operator << (std::ostream& os, template std::istream& operator >> (std::istream& is, - Generic_arc_2& arc) { + Generic_arc_2& /* arc */) { std::cerr << "bogus >> call for generic_arc\n"; return is; diff --git a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_point_2.h b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_point_2.h index 02a4c99ccd0..fc899e5da6b 100644 --- a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_point_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Generic_point_2.h @@ -200,7 +200,7 @@ public: template std::ostream& operator << (std::ostream& os, - const Generic_point_2& pt) { + const Generic_point_2& pt) { os << pt.id() << "@"; if(pt.is_finite()) @@ -213,7 +213,7 @@ std::ostream& operator << (std::ostream& os, template std::istream& operator >> (std::istream& is, - Generic_point_2& pt) { + Generic_point_2& /* pt */) { std::cerr << "bogus >> call for generic_point\n"; return is; diff --git a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Sweep_curves_adapter_2.h b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Sweep_curves_adapter_2.h index 514e5435b40..186a43d6171 100644 --- a/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Sweep_curves_adapter_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Curved_kernel_via_analysis_2/Sweep_curves_adapter_2.h @@ -593,8 +593,9 @@ public: * lexicographic order of endpoints is ensured automatically, hence no * special handling is required */ - result_type operator()(const Arc_2& cv, const Point_2& p, - const Point_2& q) const { + result_type operator()(const Arc_2& cv, + const Point_2& /* p */, + const Point_2& /* q */) const { SCA_CERR("\n\nWARNING!! New_endpoints_opposite_2: cv: " << cv << "\n p: " << p << "\n q: " << q << std::endl); CGAL_error_msg("New_endpoints_opposite_2 deprecated and must not be \