]> granicus.if.org Git - graphviz/commitdiff
zapLayers: remove unused parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 7 Oct 2021 03:53:20 +0000 (20:53 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 10 Oct 2021 18:15:11 +0000 (11:15 -0700)
lib/dotgen/aspect.c

index 1918a972510cf822ead279a0bcad139886cf353e..46536cab65edd61ad6b98acd3c69d11a5fee19cb 100644 (file)
@@ -493,7 +493,7 @@ static double computeCombiAR(graph_t * g)
  * found to be empty.
  * This function removes the empty layers.
  */
-static void zapLayers(graph_t * g)
+static void zapLayers(void)
 {
     int i, j;
     int start = 0;
@@ -569,7 +569,7 @@ void rank3(graph_t * g, aspect_t * asp)
     rank1(g);
 
     computeLayerWidths(g);
-    zapLayers(g);
+    zapLayers();
     asp->combiAR = computeCombiAR(g);
 }