]> granicus.if.org Git - graphviz/commitdiff
makePolyline: remove unused 'g' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 31 Oct 2021 03:15:45 +0000 (20:15 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 5 Nov 2021 23:59:54 +0000 (16:59 -0700)
lib/neatogen/neatosplines.c

index d46b86671cc1419e731e08f7d36d556e9cb9b048..000019e3966d4ac2cdb2a9b9e3133bde7b394c74 100644 (file)
@@ -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 {