mirror of https://github.com/CGAL/cgal
fix warning : code not reached
This commit is contained in:
parent
4d47fd5978
commit
3f96a41f93
|
|
@ -782,7 +782,7 @@ walk_to_next_2()
|
||||||
if( get<0>(_cur)->neighbor(lk) != get<0>(_prev) ) {
|
if( get<0>(_cur)->neighbor(lk) != get<0>(_prev) ) {
|
||||||
// Check the edge itself
|
// Check the edge itself
|
||||||
switch( CGAL::coplanar_orientation( *vert[get<2>(_cur)], *vert[get<3>(_cur)], *vert[lk], _target ) ) {
|
switch( CGAL::coplanar_orientation( *vert[get<2>(_cur)], *vert[get<3>(_cur)], *vert[lk], _target ) ) {
|
||||||
_prev = _cur;
|
//_prev = _cur; //code not reached
|
||||||
case COLLINEAR:
|
case COLLINEAR:
|
||||||
// The target lies in this cell.
|
// The target lies in this cell.
|
||||||
get<0>(_cur) = Cell_handle();
|
get<0>(_cur) = Cell_handle();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue