]> granicus.if.org Git - graphviz/commitdiff
remove unused poly_groups parameter from get_polygon_solids
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 17 Mar 2021 00:54:02 +0000 (17:54 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 29 Mar 2021 02:04:22 +0000 (19:04 -0700)
cmd/gvmap/make_map.c

index dc37aa873fc05f100ca45cf0ec7b475ded2bbb23..d427227436c8c16cba80a620e608924da11dc614 100644 (file)
@@ -888,7 +888,7 @@ static int same_edge(int ecur, int elast, int *edge_table){
 }
 
 static void get_polygon_solids(int nt, SparseMatrix E, int ncomps, int *comps_ptr, int *comps,
-                              int *mask, real *x_poly, SparseMatrix *polys, int **polys_groups,
+                              int *mask, real *x_poly, SparseMatrix *polys,
                               int GRP_RANDOM, int GRP_BBOX){
   /*============================================================
 
@@ -1227,7 +1227,7 @@ static void get_polygons(int exclude_random, int n, int nrandom, int dim, Sparse
     polygon solids
 
     ============================================================*/
-  get_polygon_solids(nt, E, ncomps, comps_ptr, comps, mask, *x_poly, polys, polys_groups, GRP_RANDOM, GRP_BBOX);
+  get_polygon_solids(nt, E, ncomps, comps_ptr, comps, mask, *x_poly, polys, GRP_RANDOM, GRP_BBOX);
 
   B = get_country_graph(n, E, groups, GRP_RANDOM, GRP_BBOX);
   *country_graph = B;