Skip to content

Commit

Permalink
Remove duplicate check (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
FObermaier committed Aug 13, 2024
1 parent ba0fe2f commit 22891ef
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,15 +345,6 @@ private static void EncodeTo(List<uint> destination, CoordinateSequence sequence
int initialCurrentX = currentX;
int initialCurrentY = currentY;

// If the sequence is empty there is nothing we can do with it.
if (count == 0)
return;

// In case we decide to ditch encoded data, we must reset currentX and currentY
// or subsequent geometry items will not be positioned correctly.
int initialCurrentX = currentX;
int initialCurrentY = currentY;

// if we have a ring we need to check orientation
if (ring)
{
Expand Down

0 comments on commit 22891ef

Please sign in to comment.