From: Matthew Fernandez Date: Tue, 12 Jul 2022 03:56:28 +0000 (-0700) Subject: dotgen plain_vnode: remove unused 'orig' parameter X-Git-Tag: 5.0.1~40^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80633a7d37e3f555b8d10c97ff07ebc0f3945b1c;p=graphviz dotgen plain_vnode: remove unused 'orig' parameter --- 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;