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

index a276abebeefd7bd41910e85d4ca998df1f5935ca..f0bf865572689c02a15b3cfbdfc83b1f36b8e695 100644 (file)
@@ -335,7 +335,6 @@ static void makev2cv(int *mflag, /* flag indicating vtx selected or not */
 }
 
 static int make_coarse_graph(v_data * graph,   /* array of vtx data for graph */
-                            int nvtxs, /* number of vertices in graph */
                             int nedges,        /* number of edges in graph */
                             v_data ** cgp,     /* coarsened version of graph */
                             int cnvtxs,        /* number of vtxs in coarsened graph */
@@ -691,9 +690,7 @@ coarsen_match (
 
     free(mflag);
 
-    *cnedges =
-       make_coarse_graph(graph, nvtxs, nedges, cgraph, cnvtxs, v2cv,
-                         cv2v);
+    *cnedges = make_coarse_graph(graph, nedges, cgraph, cnvtxs, v2cv, cv2v);
     *cgeom_nedges =
        make_coarse_ex_graph(geom_graph, nvtxs, geom_nedges, cgeom_graph,
                             cnvtxs, v2cv, cv2v);