From: Costa Shulyupin Date: Sun, 13 Feb 2022 09:54:54 +0000 (+0200) Subject: remove unused argument filled in cylinder_draw X-Git-Tag: 3.0.0~29^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2bde53233f8d4580a0c0123611f3c9507a3b2d52;p=graphviz remove unused argument filled in cylinder_draw --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index c2cc8625c..c46441c93 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -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;