From c5c887a931e7359bc4e55f6da9b73882fdf623ec Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 11 Jul 2022 20:57:46 -0700 Subject: [PATCH] dotgen leader_of: remove unused 'g' parameter --- lib/dotgen/class2.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/dotgen/class2.c b/lib/dotgen/class2.c index 6fb967a73..5bf697b68 100644 --- a/lib/dotgen/class2.c +++ b/lib/dotgen/class2.c @@ -51,9 +51,7 @@ static node_t *plain_vnode(graph_t *g) { return v; } -static node_t* -leader_of(graph_t * g, node_t * v) -{ +static node_t *leader_of(node_t * v) { graph_t *clust; node_t *rv; @@ -105,8 +103,8 @@ interclrep(graph_t * g, edge_t * e) node_t *t, *h; edge_t *ve; - t = leader_of(g, agtail(e)); - h = leader_of(g, aghead(e)); + t = leader_of(agtail(e)); + h = leader_of(aghead(e)); if (ND_rank(t) > ND_rank(h)) { node_t *t0 = t; t = h; -- 2.40.0