Triangulation_2: Initialize to avoid warning

This commit is contained in:
Andreas Fabri 2019-02-08 08:39:27 +01:00
parent 1ca9dbc514
commit a0ebd79e9d
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@ public:
++it){
if(! is_subconstraint(*it, *succ)){ // this checks whether other constraints pass
Face_handle fh;
int i;
int i = -1; // this will be set by is_edge() below. Without initialization we get a warning
CGAL_triangulation_assertion_code(bool b =)
Triangulation::is_edge(*it, *succ, fh, i);
CGAL_triangulation_assertion(b);