]> granicus.if.org Git - graphviz/commitdiff
dotgen make_interclust_chain: remove unused 'g' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 17 Jul 2022 22:27:14 +0000 (15:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 23 Jul 2022 00:14:28 +0000 (17:14 -0700)
lib/dotgen/cluster.c

index 2cb0e336e1467b6dca02820b15f5036b401433ce..95c7544d45953b5647a5a44a2f05c4cde160d58c 100644 (file)
@@ -139,9 +139,7 @@ map_path(node_t * from, node_t * to, edge_t * orig, edge_t * ve, int type)
     }
 }
 
-static void 
-make_interclust_chain(graph_t * g, node_t * from, node_t * to, edge_t * orig)
-{
+static void make_interclust_chain(node_t * from, node_t * to, edge_t * orig) {
     int newtype;
     node_t *u, *v;
 
@@ -205,7 +203,7 @@ static void interclexp(graph_t * subg)
 
            /* forward edges */
            if (ND_rank(aghead(e)) > ND_rank(agtail(e))) {
-               make_interclust_chain(g, agtail(e), aghead(e), e);
+               make_interclust_chain(agtail(e), aghead(e), e);
                prev = e;
                continue;
            }
@@ -217,7 +215,7 @@ I think that make_interclust_chain should create call other_edge(e) anyway
                                if (agcontains(subg,agtail(e))
                                        && agfindedge(g,aghead(e),agtail(e))) other_edge(e);
 */
-               make_interclust_chain(g, aghead(e), agtail(e), e);
+               make_interclust_chain(aghead(e), agtail(e), e);
                prev = e;
            }
        }