From cb352ac60991bae2f4993b055dae72d1cb4a1319 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Fri, 15 Sep 2023 14:45:18 +0100 Subject: [PATCH] Remove unused local variable --- include/mapnik/geom_util.hpp | 2 -- 1 file changed, 2 deletions(-) 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;