]> granicus.if.org Git - graphviz/commitdiff
dotgen plain_vnode: remove unused 'orig' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 12 Jul 2022 03:56:28 +0000 (20:56 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 17 Jul 2022 04:50:09 +0000 (21:50 -0700)
lib/dotgen/class2.c

index 720477f9fa40eee9b39b3a7bfab73cb30d0c2d68..6fb967a7368e2355af7f76695792f8038c5be4f4 100644 (file)
@@ -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;