mirror of https://github.com/CGAL/cgal
T2: avoid maybe uninitialized warning
This commit is contained in:
parent
299a89f212
commit
f557b1ca6e
|
|
@ -739,9 +739,9 @@ public:
|
||||||
for(auto it = vertices.begin(), succ = it; ++succ != vertices.end(); ++it){
|
for(auto it = vertices.begin(), succ = it; ++succ != vertices.end(); ++it){
|
||||||
if(! is_subconstraint(*it, *succ)){ // this checks whether other constraints pass
|
if(! is_subconstraint(*it, *succ)){ // this checks whether other constraints pass
|
||||||
Face_handle fh;
|
Face_handle fh;
|
||||||
int i;
|
int i = -1;
|
||||||
bool b = Triangulation::is_edge(*it, *succ, fh, i);
|
Triangulation::is_edge(*it, *succ, fh, i);
|
||||||
CGAL_assume(b);
|
CGAL_assertion(i != -1);
|
||||||
Triangulation::remove_constrained_edge(fh,i, out); // this does also flipping if necessary.
|
Triangulation::remove_constrained_edge(fh,i, out); // this does also flipping if necessary.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue