From 80633a7d37e3f555b8d10c97ff07ebc0f3945b1c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 11 Jul 2022 20:56:28 -0700 Subject: [PATCH] dotgen plain_vnode: remove unused 'orig' parameter --- lib/dotgen/class2.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/dotgen/class2.c b/lib/dotgen/class2.c index 720477f9f..6fb967a73 100644 --- a/lib/dotgen/class2.c +++ b/lib/dotgen/class2.c @@ -44,9 +44,7 @@ incr_width(graph_t * g, node_t * v) ND_rw(v) += width; } -static node_t* -plain_vnode(graph_t * g, edge_t * orig) -{ +static node_t *plain_vnode(graph_t *g) { node_t *v; v = virtual_node(g); incr_width(g, v); @@ -90,7 +88,7 @@ make_chain(graph_t * g, node_t * from, node_t * to, edge_t * orig) if (r == label_rank) v = label_vnode(g, orig); else - v = plain_vnode(g, orig); + v = plain_vnode(g); ND_rank(v) = r; } else v = to; -- 2.40.0