From: Matthew Fernandez Date: Sun, 31 Oct 2021 03:15:45 +0000 (-0700) Subject: makePolyline: remove unused 'g' parameter X-Git-Tag: 2.50.0~52^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00af3fb6b3f58c4822705000b528b2e1435f7d35;p=graphviz makePolyline: remove unused 'g' parameter --- diff --git a/lib/neatogen/neatosplines.c b/lib/neatogen/neatosplines.c index d46b86671..000019e39 100644 --- a/lib/neatogen/neatosplines.c +++ b/lib/neatogen/neatosplines.c @@ -472,9 +472,7 @@ getPath(edge_t * e, vconfig_t * vconfig, int chkPts, Ppoly_t ** obs, /* makePolyline: */ -static void -makePolyline(graph_t* g, edge_t * e) -{ +static void makePolyline(edge_t * e) { Ppolyline_t spl, line = ED_path(e); Ppoint_t p0, q0; @@ -656,7 +654,7 @@ static int _spline_edges(graph_t * g, expand_t* pmargin, int edgetype) if (edgetype == EDGETYPE_SPLINE) makeSpline(g, e0, obs, npoly, TRUE); else - makePolyline(g, e0); + makePolyline(e0); e0 = ED_to_virt(e0); } } else {