diff --git a/include/mapnik/geom_util.hpp b/include/mapnik/geom_util.hpp index b855fc776..db7e945c6 100755 --- a/include/mapnik/geom_util.hpp +++ b/include/mapnik/geom_util.hpp @@ -274,14 +274,12 @@ bool hit_test_first(PathType& path, double x, double y) { return false; } - unsigned count = 0; while (SEG_END != (command = path.vertex(&x1, &y1))) { if (command == SEG_CLOSE) { break; } - ++count; if (command == SEG_MOVETO) { x0 = x1;