Skip to content
Snippets Groups Projects
Commit f1c341e5 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[GL] Remove unnecessary assignments

The 'next' value is not used afterwards.
parent 01c99b9e
No related branches found
No related tags found
No related merge requests found
...@@ -321,9 +321,7 @@ void EarClippingTriangulation::clipEars() ...@@ -321,9 +321,7 @@ void EarClippingTriangulation::clipEars()
_ear_list.remove(*next); _ear_list.remove(*next);
if (orientation == GeoLib::COLLINEAR) if (orientation == GeoLib::COLLINEAR)
{ {
next = _vertex_list.erase(next); _vertex_list.erase(next);
if (next == _vertex_list.end())
next = _vertex_list.begin();
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment