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

index f7fed2503ba0d7b66ac485d8c27b6cf5dbbe3c03..975dd9ef53f08c5664f67082d0eb41798273e82b 100644 (file)
@@ -1279,7 +1279,7 @@ static void subset_model(Agraph_t * G, int nG)
  * Assume the matrix already contains shortest path values.
  * Use the actual lengths provided the input for edges.
  */
-static void mds_model(graph_t * g, int nG)
+static void mds_model(graph_t * g)
 {
     long i, j;
     node_t *v;
@@ -1317,7 +1317,7 @@ static void kkNeato(Agraph_t * g, int nG, int model)
        }
     } else if (model == MODEL_MDS) {
        shortest_path(g, nG);
-       mds_model(g, nG);
+       mds_model(g);
     } else
        shortest_path(g, nG);
     initial_positions(g, nG);