From bcda584ec7788c947c66e121fe37c73e54ca3ac5 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 10 Jan 2023 08:09:33 -0800 Subject: [PATCH] gvmap plot_dot_polygons: squash -Wunused-variable warning in release mode --- cmd/gvmap/make_map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/gvmap/make_map.c b/cmd/gvmap/make_map.c index 298118093..b172c9839 100644 --- a/cmd/gvmap/make_map.c +++ b/cmd/gvmap/make_map.c @@ -294,6 +294,7 @@ static void plot_dot_polygons(agxbuf *sbuff, double line_width, np = 0; for (j = ia[i]; j < ia[i+1]; j++){ assert(ja[j] < nverts && ja[j] >= 0); + (void)nverts; if (abs(a[j]) != ipoly){/* the first poly, or a hole */ ipoly = abs(a[j]); if (r && g && b) { -- 2.50.1