]> granicus.if.org Git - graphviz/commitdiff
remove unused parameter from majorization
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 18 Apr 2021 05:58:19 +0000 (22:58 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 20:31:57 +0000 (13:31 -0700)
lib/neatogen/neatoinit.c

index 2b0bdb55ba73bf5a3bfc66a782ac2027946db596..f7fed2503ba0d7b66ac485d8c27b6cf5dbbe3c03 100644 (file)
@@ -1118,7 +1118,7 @@ void dumpOpts (ipsep_options* opp, int nv)
  * mode will be MODE_MAJOR, MODE_HIER or MODE_IPSEP
  */
 static void
-majorization(graph_t *mg, graph_t * g, int nv, int mode, int model, int dim, int steps, adjust_data* am)
+majorization(graph_t *mg, graph_t * g, int nv, int mode, int model, int dim, adjust_data* am)
 {
     double **coords;
     int ne;
@@ -1357,7 +1357,7 @@ neatoLayout(Agraph_t * mg, Agraph_t * g, int layoutMode, int layoutModel,
     else if (layoutMode == MODE_SGD)
        sgd(g, layoutModel);
     else
-       majorization(mg, g, nG, layoutMode, layoutModel, Ndim, MaxIter, am);
+       majorization(mg, g, nG, layoutMode, layoutModel, Ndim, am);
 }
 
 /* addZ;