From ed401b05df35cd2e8a076ca747a2f8c25cbe7377 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 30 Oct 2021 20:23:09 -0700 Subject: [PATCH] finishEdge: remove unused 'g' parameter --- lib/neatogen/multispline.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/neatogen/multispline.c b/lib/neatogen/multispline.c index 97baa1116..0c861bbf5 100644 --- a/lib/neatogen/multispline.c +++ b/lib/neatogen/multispline.c @@ -779,9 +779,7 @@ router_t *mkRouter(Ppoly_t** obsp, int npoly) * Finish edge generation, clipping to nodes and adding arrowhead * if necessary, and adding edge labels */ -static void -finishEdge (graph_t* g, edge_t* e, Ppoly_t spl, int flip, pointf p, pointf q) -{ +static void finishEdge(edge_t* e, Ppoly_t spl, int flip, pointf p, pointf q) { int j; pointf *spline = N_GNEW(spl.pn, pointf); pointf p1, q1; @@ -906,7 +904,7 @@ genroute(graph_t* g, tripoly_t * trip, int s, int t, edge_t * e, int doPolyline) rv = 1; goto finish; } - finishEdge (g, e, spl, aghead(e) != head, eps[0], eps[1]); + finishEdge(e, spl, aghead(e) != head, eps[0], eps[1]); free(medges); return 0; @@ -959,7 +957,7 @@ genroute(graph_t* g, tripoly_t * trip, int s, int t, edge_t * e, int doPolyline) goto finish; } } - finishEdge (g, e, spl, aghead(e) != head, eps[0], eps[1]); + finishEdge(e, spl, aghead(e) != head, eps[0], eps[1]); e = ED_to_virt(e); } -- 2.40.0