mirror of https://github.com/CGAL/cgal
Remove warnings about unused variables
This commit is contained in:
parent
6824cd0605
commit
76c157041f
|
|
@ -800,7 +800,7 @@ move_point(Vertex_handle v, const Point & p) {
|
|||
CGAL_triangulation_expensive_precondition(is_vertex(v));
|
||||
// Remember an incident vertex to restart
|
||||
// the point location after the removal.
|
||||
Cell_handle c = v->cell();
|
||||
// Cell_handle c = v->cell();
|
||||
//Vertex_handle old_neighbor = c->vertex(c->index(v) == 0 ? 1 : 0);
|
||||
// CGAL_triangulation_assertion(old_neighbor != v);
|
||||
|
||||
|
|
|
|||
|
|
@ -3757,8 +3757,8 @@ operator==(const Periodic_3_triangulation_3<GT,TDS1> &t1,
|
|||
typedef typename Periodic_3_triangulation_3<GT,TDS1>
|
||||
::Geometric_traits::Compare_xyz_3 Compare_xyz_3;
|
||||
|
||||
Compare_xyz_3 cmp1 = t1.geom_traits().compare_xyz_3_object();
|
||||
Compare_xyz_3 cmp2 = t2.geom_traits().compare_xyz_3_object();
|
||||
// Compare_xyz_3 cmp1 = t1.geom_traits().compare_xyz_3_object();
|
||||
// Compare_xyz_3 cmp2 = t2.geom_traits().compare_xyz_3_object();
|
||||
|
||||
// Some quick checks.
|
||||
if ( t1.domain() != t2.domain()
|
||||
|
|
|
|||
|
|
@ -19,6 +19,10 @@
|
|||
// Author(s) : Mariette Yvinec <Mariette.Yvinec@sophia.inria.fr>
|
||||
// Manuel Caroli <Manuel.Caroli@sophia.inria.fr>
|
||||
|
||||
#if (__GNUC__>4) || (__GNUC__ == 4 && __GNUC_MINOR__ >=6)
|
||||
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
|
||||
template <class Traits>
|
||||
void _test_for_given_domain(const Traits & traits,
|
||||
typename Traits::Point_3 * p)
|
||||
|
|
|
|||
Loading…
Reference in New Issue