remove unused local variable

This commit is contained in:
Artem Pavlenko 2023-04-25 14:23:08 +01:00
parent 35d901072b
commit 3b81effb3e

View file

@ -274,14 +274,12 @@ bool hit_test_first(PathType& path, double x, double y)
{ {
return false; return false;
} }
unsigned count = 0;
while (SEG_END != (command = path.vertex(&x1, &y1))) while (SEG_END != (command = path.vertex(&x1, &y1)))
{ {
if (command == SEG_CLOSE) if (command == SEG_CLOSE)
{ {
break; break;
} }
++count;
if (command == SEG_MOVETO) if (command == SEG_MOVETO)
{ {
x0 = x1; x0 = x1;