Skip to content

Commit

Permalink
Merge pull request #17 from r-barnes/patch-1
Browse files Browse the repository at this point in the history
Remove unused variable in earcut.hpp
  • Loading branch information
skogler authored Jul 30, 2024
2 parents a6a31ac + 5149536 commit f4c91cc
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 f4c91cc

Please sign in to comment.