]> granicus.if.org Git - graphviz/commitdiff
remove unused argument filled in cylinder_draw
authorCosta Shulyupin <constantine.shulyupin@gmail.com>
Sun, 13 Feb 2022 09:54:54 +0000 (11:54 +0200)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 15 Feb 2022 19:45:37 +0000 (06:45 +1100)
lib/common/shapes.c

index c2cc8625c2571b7f5185d721ceaae7b18cdfc65e..c46441c931cbafe6d5e28000d18a3cf90d48ee86 100644 (file)
@@ -71,7 +71,7 @@ static poly_desc_t star_gen = {
 
 static pointf cylinder_size (pointf);
 static void cylinder_vertices (pointf*, pointf*);
-static void cylinder_draw(GVJ_t * job, pointf * AF, int sides, int style, int filled);
+static void cylinder_draw(GVJ_t * job, pointf * AF, int sides, int filled);
 /* static boolean cylinder_inside(inside_t * inside_context, pointf p); */
 static poly_desc_t cylinder_gen = {
     cylinder_size,
@@ -544,7 +544,7 @@ void round_corners(GVJ_t * job, pointf * AF, int sides, int style, int filled)
     else
        mode = ROUNDED;
     if (mode == CYLINDER) {
-       cylinder_draw (job, AF, sides, style, filled);
+       cylinder_draw (job, AF, sides, filled);
        return;
     } 
     B = N_NEW(4 * sides + 4, pointf);
@@ -4037,7 +4037,7 @@ static void cylinder_vertices (pointf* vertices, pointf* bb)
     vertices[18] = vertices[17] = vertices[0];
 }
 
-static void cylinder_draw(GVJ_t * job, pointf * AF, int sides, int style, int filled)
+static void cylinder_draw(GVJ_t * job, pointf * AF, int sides, int filled)
 {
     pointf vertices[7];
     double y0 = AF[0].y;