Remove unused local variable

This commit is contained in:
Artem Pavlenko 2023-09-15 14:45:18 +01:00
parent 388d3fd8da
commit cb352ac609

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;