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

index 919756d31b9e80dd82b26169e9508ad377cc657e..ef6ff03a2107972acc05c46bfa92b96fcb4867cd 100644 (file)
@@ -296,7 +296,7 @@ static void plot_dot_edges(FILE *f, SparseMatrix A){
   }
 }
 
-static void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, real *width, float *fsz){
+static void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, float *fsz){
   int i;
 
   for (i = 0; i < n; i++){
@@ -548,7 +548,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);
+  if (!gr && labels) plot_dot_labels(f, n, dim, x, labels, fsz);
   /* edges */
   if (!gr && A) plot_dot_edges(f, A);