]> granicus.if.org Git - graphviz/commitdiff
remove unused parameters from plot_dot_edges
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Mar 2021 02:40:19 +0000 (18:40 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 16 Mar 2021 02:25:47 +0000 (19:25 -0700)
cmd/gvmap/make_map.c

index e95cdc803a9d6fcb1d5d156bbcaac6dc6a66feb9..9009eda2c6967e13dd08b9edacad065ba1fb8742 100644 (file)
@@ -281,7 +281,7 @@ void plot_polys(int use_line, SparseMatrix polys, real *x_poly, int *polys_group
   printf("}]}]");
 }
 
-static void plot_dot_edges(FILE *f, SparseMatrix A, int dim, real *x){
+static void plot_dot_edges(FILE *f, SparseMatrix A){
   int i, *ia, *ja, j;
 
   
@@ -550,7 +550,7 @@ void plot_dot_map(Agraph_t* gr, int n, int dim, real *x, SparseMatrix polys, Spa
   /* nodes */
   if (!gr && labels) plot_dot_labels(f, n, dim, x, labels, width, fsz);
   /* edges */
-  if (!gr && A) plot_dot_edges(f, A, dim, x);
+  if (!gr && A) plot_dot_edges(f, A);
 
   /* background color + plot label?*/