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));
|
CGAL_triangulation_expensive_precondition(is_vertex(v));
|
||||||
// Remember an incident vertex to restart
|
// Remember an incident vertex to restart
|
||||||
// the point location after the removal.
|
// 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);
|
//Vertex_handle old_neighbor = c->vertex(c->index(v) == 0 ? 1 : 0);
|
||||||
// CGAL_triangulation_assertion(old_neighbor != v);
|
// 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>
|
typedef typename Periodic_3_triangulation_3<GT,TDS1>
|
||||||
::Geometric_traits::Compare_xyz_3 Compare_xyz_3;
|
::Geometric_traits::Compare_xyz_3 Compare_xyz_3;
|
||||||
|
|
||||||
Compare_xyz_3 cmp1 = t1.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();
|
// Compare_xyz_3 cmp2 = t2.geom_traits().compare_xyz_3_object();
|
||||||
|
|
||||||
// Some quick checks.
|
// Some quick checks.
|
||||||
if ( t1.domain() != t2.domain()
|
if ( t1.domain() != t2.domain()
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,10 @@
|
||||||
// Author(s) : Mariette Yvinec <Mariette.Yvinec@sophia.inria.fr>
|
// Author(s) : Mariette Yvinec <Mariette.Yvinec@sophia.inria.fr>
|
||||||
// Manuel Caroli <Manuel.Caroli@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>
|
template <class Traits>
|
||||||
void _test_for_given_domain(const Traits & traits,
|
void _test_for_given_domain(const Traits & traits,
|
||||||
typename Traits::Point_3 * p)
|
typename Traits::Point_3 * p)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue