From: Matthew Fernandez Date: Sun, 17 Jul 2022 22:25:34 +0000 (-0700) Subject: topfish make_coarse_ex_graph: remove unused 'nvtxs' parameter X-Git-Tag: 5.0.1~33^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4fb13885d6669f980876091ab87169bec7004da;p=graphviz topfish make_coarse_ex_graph: remove unused 'nvtxs' parameter --- diff --git a/lib/topfish/hierarchy.c b/lib/topfish/hierarchy.c index f0bf86557..995d54ea2 100644 --- a/lib/topfish/hierarchy.c +++ b/lib/topfish/hierarchy.c @@ -562,7 +562,6 @@ static int make_coarse_graph(v_data * graph, /* array of vtx data for graph */ static int make_coarse_ex_graph ( ex_vtx_data * graph, /* array of vtx data for graph */ - int nvtxs, /* number of vertices in graph */ int nedges, /* number of edges in graph */ ex_vtx_data ** cgp, /* coarsened version of graph */ int cnvtxs, /* number of vtxs in coarsened graph */ @@ -691,8 +690,7 @@ coarsen_match ( free(mflag); *cnedges = make_coarse_graph(graph, nedges, cgraph, cnvtxs, v2cv, cv2v); - *cgeom_nedges = - make_coarse_ex_graph(geom_graph, nvtxs, geom_nedges, cgeom_graph, + *cgeom_nedges = make_coarse_ex_graph(geom_graph, geom_nedges, cgeom_graph, cnvtxs, v2cv, cv2v); }