Skip to content

Commit

Permalink
Update earcut.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
r-barnes authored Jul 29, 2024
1 parent a6a31ac commit 5149536
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/mapbox/earcut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,8 @@ void Earcut<N>::earcutLinked(Node* ear, int pass) {
Node* prev;
Node* next;

int iterations = 0;

// iterate through ears, slicing them one by one
while (ear->prev != ear->next) {
iterations++;
prev = ear->prev;
next = ear->next;

Expand Down

0 comments on commit 5149536

Please sign in to comment.