From 3b81effb3eb1bba15bb3cbad14a32b44c8a41c2c Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 25 Apr 2023 14:23:08 +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;