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

index ff445781f2488302bab9a1d453bfbe6eca963108..3d495c6a014aeeb11ec8047e243132b68156bad2 100644 (file)
@@ -360,7 +360,7 @@ static void dot_polygon(char **sbuff, int *len, int *len_max, int np, float *xp,
 
   }
 }
-static void processing_polygon(FILE *f, int np, float *xp, float *yp, real line_width, int fill, int close, 
+static void processing_polygon(FILE *f, int np, float *xp, float *yp, real line_width, int fill,
                               float rr, float gg, float bb){
   int i;
 
@@ -408,9 +408,9 @@ void processing_one_poly(FILE *f, int use_line, real line_width, int fill, int c
       /*river*/
     } else {
     }
-    processing_polygon(f, np, xp, yp, line_width, fill, close, rr, gg, bb);
+    processing_polygon(f, np, xp, yp, line_width, fill, rr, gg, bb);
   } else {
-    processing_polygon(f, np, xp, yp, line_width, fill, close, rr, gg, bb);
+    processing_polygon(f, np, xp, yp, line_width, fill, rr, gg, bb);
   }
 }