]> granicus.if.org Git - graphviz/commitdiff
remove unused parameter to dot_polygon
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Mar 2021 02:43:39 +0000 (18:43 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 16 Mar 2021 02:25:47 +0000 (19:25 -0700)
cmd/gvmap/make_map.c

index ef6ff03a2107972acc05c46bfa92b96fcb4867cd..13f9fb9894c2fbea2d686707b5edf63b21016415 100644 (file)
@@ -310,7 +310,7 @@ static void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, flo
 }
 
 static void dot_polygon(char **sbuff, int *len, int *len_max, int np, float *xp, float *yp, real line_width,  
-                       int fill, int close, char *cstring){
+                       int fill, char *cstring){
   int i;
   int ret = 0;
   size_t len_swidth = 0;
@@ -395,9 +395,9 @@ void dot_one_poly(char **sbuff, int *len, int *len_max, int use_line, real line_
       /*river*/
     } else {
     }
-    dot_polygon(sbuff, len, len_max, np, xp, yp, line_width, fill, close, cstring);
+    dot_polygon(sbuff, len, len_max, np, xp, yp, line_width, fill, cstring);
   } else {
-    dot_polygon(sbuff, len, len_max, np, xp, yp, line_width, fill, close, cstring);
+    dot_polygon(sbuff, len, len_max, np, xp, yp, line_width, fill, cstring);
   }
 }