remove warning: unused parameter

This commit is contained in:
Shlomo Golubev 2007-09-08 22:32:52 +00:00
parent 0063e6530c
commit a67f309a40
5 changed files with 17 additions and 17 deletions

View File

@ -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);
}

View File

@ -266,7 +266,7 @@ template<class NtTraits>
const typename _Bezier_cache<NtTraits>::Vertical_tangency_list&
_Bezier_cache<NtTraits>::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);

View File

@ -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());

View File

@ -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());

View File

@ -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.