From a67f309a40618bbe7725b465e30bc830c2a33997 Mon Sep 17 00:00:00 2001 From: Shlomo Golubev Date: Sat, 8 Sep 2007 22:32:52 +0000 Subject: [PATCH] remove warning: unused parameter --- .../Arr_bounded_planar_topology_traits_2.h | 8 ++++---- .../CGAL/Arr_geometry_traits/Bezier_cache.h | 2 +- .../include/CGAL/Arr_linear_traits_2.h | 2 +- .../include/CGAL/Arr_spherical_arc_traits_2.h | 2 +- .../Arr_planar_topology_traits_base_2.h | 20 +++++++++---------- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_bounded_planar_topology_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_bounded_planar_topology_traits_2.h index 96079670913..52f8abfd013 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_bounded_planar_topology_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_bounded_planar_topology_traits_2.h @@ -128,7 +128,7 @@ public: } /*! Check if the given vertex is concrete (associated with a point). */ - inline bool is_concrete_vertex (const Vertex *v) const + inline bool is_concrete_vertex (const Vertex *) const { return (true); } @@ -141,7 +141,7 @@ public: } /*! Check if the given vertex is valid (not a fictitious one). */ - inline bool is_valid_vertex (const Vertex *v) const + inline bool is_valid_vertex (const Vertex *) const { return (true); } @@ -154,7 +154,7 @@ public: } /*! Check if the given halfedge is valid (not a fictitious one). */ - inline bool is_valid_halfedge (const Halfedge *he) const + inline bool is_valid_halfedge (const Halfedge *) const { return (true); } @@ -167,7 +167,7 @@ public: } /*! Check if the given face is valid (not a fictitious one). */ - inline bool is_valid_face (const Face *f) const + inline bool is_valid_face (const Face *) const { return (true); } diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_geometry_traits/Bezier_cache.h b/Arrangement_on_surface_2/include/CGAL/Arr_geometry_traits/Bezier_cache.h index 10dc994c8a4..98c9728d79c 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_geometry_traits/Bezier_cache.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_geometry_traits/Bezier_cache.h @@ -266,7 +266,7 @@ template const typename _Bezier_cache::Vertical_tangency_list& _Bezier_cache::vertical_tangencies (const Curve_id& id, - const Polynomial& polyX, const Integer& normX) + const Polynomial& polyX, const Integer&) { // Try to find the curve ID in the map. Vert_tang_map_iterator map_iter = vert_tang_map.find (id); diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_linear_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_linear_traits_2.h index 1d5ac9ab0e2..69bb6394d51 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_linear_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_linear_traits_2.h @@ -635,7 +635,7 @@ public: */ Comparison_result operator() (const Point_2& p, const X_monotone_curve_2& cv, - Curve_end ind) const + Curve_end) const { CGAL_precondition (! cv.is_degenerate()); CGAL_precondition (cv.is_vertical()); diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_spherical_arc_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_spherical_arc_traits_2.h index 86866bb11e7..a194836d87f 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_spherical_arc_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_spherical_arc_traits_2.h @@ -984,7 +984,7 @@ public: */ Comparison_result operator()(const X_monotone_curve_2 & xc1, const X_monotone_curve_2 & xc2, - const Point_2 & p) const + const Point_2 &) const { CGAL_precondition(!xc1.is_degenerate()); CGAL_precondition(!xc2.is_degenerate()); diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_planar_topology_traits_base_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_planar_topology_traits_base_2.h index 5f7005fa3a9..de3da03e225 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_planar_topology_traits_base_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_planar_topology_traits_base_2.h @@ -148,11 +148,11 @@ public: * \param bound_x The boundary condition of the curve end in x. * \param bound_y The boundary condition of the curve end in y. */ - void notify_on_boundary_vertex_creation (Vertex *v, - const X_monotone_curve_2& cv, - Curve_end ind, - Boundary_type bound_x, - Boundary_type bound_y) + void notify_on_boundary_vertex_creation (Vertex *, + const X_monotone_curve_2& , + Curve_end, + Boundary_type, + Boundary_type) { // In the planar-topology traits this function should never be invoked: CGAL_assertion (false); @@ -227,9 +227,9 @@ public: * are about to create, false otherwise - in which case he2 * (and prev2) must be incident to this new face. */ - bool is_on_new_perimetric_face_boundary (const Halfedge *prev1, - const Halfedge *prev2, - const X_monotone_curve_2& cv) const + bool is_on_new_perimetric_face_boundary (const Halfedge *, + const Halfedge *, + const X_monotone_curve_2&) const { // We can never have perimetric faces in a planar topology: CGAL_assertion (false); @@ -244,8 +244,8 @@ public: * \return Whether the two halfedge belong to the outer boundary of the same * face. */ - bool boundaries_of_same_face (const Halfedge *e1, - const Halfedge *e2) const + bool boundaries_of_same_face (const Halfedge *, + const Halfedge *) const { // This predicate is only used for case 3.3.2 of the insertion process, // therefore it should never be invoked in the planar case.