From 1d75721a464fe51fc755b6e6ef52f7a3f559f0be Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Fri, 4 Nov 2022 14:39:54 +0000 Subject: [PATCH] Fix compiler warning - ``` include/mapnik/markers_placements/vertex_last.hpp:49:18: warning: variable 'cmd1' set but not used [-Wunused-but-set-variable] unsigned cmd1 = SEG_END; ^ 1 warning generated. ``` --- include/mapnik/markers_placements/vertex_last.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/mapnik/markers_placements/vertex_last.hpp b/include/mapnik/markers_placements/vertex_last.hpp index 590dd0e78..d30dc008e 100644 --- a/include/mapnik/markers_placements/vertex_last.hpp +++ b/include/mapnik/markers_placements/vertex_last.hpp @@ -46,7 +46,6 @@ class markers_vertex_last_placement : public markers_point_placement p_next; geometry::point move_to; unsigned cmd0 = SEG_END; - unsigned cmd1 = SEG_END; unsigned cmd_next = SEG_END; while ((cmd_next = this->locator_.vertex(&p_next.x, &p_next.y)) != SEG_END) @@ -60,13 +59,11 @@ class markers_vertex_last_placement : public markers_point_placement