From: Matthew Fernandez Date: Tue, 10 Jan 2023 16:09:33 +0000 (-0800) Subject: gvmap plot_dot_polygons: squash -Wunused-variable warning in release mode X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcda584ec7788c947c66e121fe37c73e54ca3ac5;p=graphviz gvmap plot_dot_polygons: squash -Wunused-variable warning in release mode --- 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) {