From 5983be62b00127fb5e69ea2e4c93bf2f55e4df09 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 30 Oct 2021 20:02:11 -0700 Subject: [PATCH] makeSelfArcs: remove unused 'P' parameter --- lib/fdpgen/clusteredges.c | 2 +- lib/neatogen/neatoprocs.h | 2 +- lib/neatogen/neatosplines.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/fdpgen/clusteredges.c b/lib/fdpgen/clusteredges.c index 9d0e1c16b..8b4a3f433 100644 --- a/lib/fdpgen/clusteredges.c +++ b/lib/fdpgen/clusteredges.c @@ -267,7 +267,7 @@ int compoundEdges(graph_t * g, expand_t* pm, int edgetype) P = NEW(path); P->boxes = N_NEW(agnnodes(g) + 20 * 2 * 9, boxf); } - makeSelfArcs(P, e, GD_nodesep(g)); + makeSelfArcs(e, GD_nodesep(g)); } else if (ED_count(e)) { objl = objectList(e, pm); if (Plegal_arrangement(objl->obs, objl->cnt)) { diff --git a/lib/neatogen/neatoprocs.h b/lib/neatogen/neatoprocs.h index 51ea9532b..ae55542f4 100644 --- a/lib/neatogen/neatoprocs.h +++ b/lib/neatogen/neatoprocs.h @@ -33,7 +33,7 @@ extern "C" { extern void jitter3d(Agnode_t *, int); extern void jitter_d(Agnode_t *, int, int); extern Ppoly_t *makeObstacle(node_t * n, expand_t*, boolean ); - extern void makeSelfArcs(path * P, edge_t * e, int stepx); + extern void makeSelfArcs(edge_t * e, int stepx); extern void makeSpline(graph_t*, edge_t *, Ppoly_t **, int, boolean); extern void make_spring(graph_t *, Agnode_t *, Agnode_t *, double); extern void move_node(graph_t *, int, Agnode_t *); diff --git a/lib/neatogen/neatosplines.c b/lib/neatogen/neatosplines.c index 0a54c6fa3..2966287a2 100644 --- a/lib/neatogen/neatosplines.c +++ b/lib/neatogen/neatosplines.c @@ -234,7 +234,7 @@ static edge_t *equivEdge(Dt_t * map, edge_t * e) * We have to handle port labels here. * as well as update the bbox from edge labels. */ -void makeSelfArcs(path * P, edge_t * e, int stepx) +void makeSelfArcs(edge_t * e, int stepx) { int cnt = ED_count(e); @@ -630,7 +630,7 @@ static int _spline_edges(graph_t * g, expand_t* pmargin, int edgetype) P = NEW(path); P->boxes = N_NEW(agnnodes(g) + 20 * 2 * 9, boxf); } - makeSelfArcs(P, e, GD_nodesep(g->root)); + makeSelfArcs(e, GD_nodesep(g->root)); } else if (vconfig) { /* EDGETYPE_SPLINE or EDGETYPE_PLINE */ #ifdef HAVE_GTS if (ED_count(e) > 1 || BOUNDARY_PORT(e)) { -- 2.40.0