]> granicus.if.org Git - graphviz/commitdiff
remove unused parameter from updateGraph
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 18 Apr 2021 04:28:40 +0000 (21:28 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 20:31:56 +0000 (13:31 -0700)
lib/neatogen/adjust.c

index be0bfefbdae34463e50486e3686d4fe167e735d6..c47f1488f889e344c27bd8c2818f96fdcc8a6c32 100644 (file)
@@ -618,7 +618,7 @@ static int sAdjust(void)
  /* updateGraph:
   * Enter new node positions into the graph
   */
-static void updateGraph(Agraph_t * graph)
+static void updateGraph(void)
 {
     int i;
     Info_t *ip;
@@ -1170,7 +1170,7 @@ removeOverlapWith (graph_t * G, adjust_data* am)
        ret = vAdjust();
 
     if (ret)
-       updateGraph(G);
+       updateGraph();
 
     freeNodes();
     free(sites);