mirror of https://github.com/CGAL/cgal
Fix warnings with CGAL_TRIANGULATION_NO_ASSERTIONS
Warnings about unused variables when `CGAL_TRIANGULATION_NO_ASSERTIONS` is defined.
This commit is contained in:
parent
6c93f66b1f
commit
cd0335cda9
|
|
@ -2165,10 +2165,10 @@ Periodic_3_triangulation_3<GT,TDS>::periodic_insert(
|
|||
Point_hider &hider, Vertex_handle vh)
|
||||
{
|
||||
Vertex_handle v;
|
||||
CGAL_triangulation_assertion(number_of_vertices() != 0);
|
||||
CGAL_triangulation_precondition(number_of_vertices() != 0);
|
||||
CGAL_triangulation_precondition_code(
|
||||
Locate_type lt_assert; int i_assert; int j_assert;);
|
||||
CGAL_triangulation_assertion(side_of_cell(tester.point(),o, c,
|
||||
CGAL_triangulation_precondition(side_of_cell(tester.point(),o, c,
|
||||
lt_assert, i_assert, j_assert) != ON_UNBOUNDED_SIDE);
|
||||
|
||||
tester.set_offset(o);
|
||||
|
|
|
|||
|
|
@ -1735,7 +1735,7 @@ join_vertices(Face_handle f, int i, Vertex_handle v)
|
|||
if ( v1->face() == f || v1->face() == g ) v1->set_face(tl);
|
||||
|
||||
|
||||
#ifndef CGAL_NO_ASSERTIONS
|
||||
#if ! defined(CGAL_TRIANGULATION_NO_ASSERTIONS) && ! defined(CGAL_NO_ASSERTIONS)
|
||||
for (Face_iterator fit = faces_begin(); fit != faces_end(); ++fit) {
|
||||
int id;
|
||||
CGAL_triangulation_assertion( !fit->has_vertex(v2, id) );
|
||||
|
|
|
|||
Loading…
Reference in New Issue