]> granicus.if.org Git - graphviz/commitdiff
remove sfdp_cleanup_graph no-op function
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 17 Jun 2021 00:53:58 +0000 (17:53 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 23 Jun 2021 00:06:12 +0000 (17:06 -0700)
Squashes a -Wunused-parameter warning.

lib/sfdpgen/sfdpinit.c

index 8c2d18c671520f43eb622bb436967424c900c9d2..9df8bf87a23c22d1b2695c003ec76c0641d4b1f1 100644 (file)
@@ -342,10 +342,6 @@ void sfdp_layout(graph_t * g)
     dotneato_postprocess(g);
 }
 
-static void sfdp_cleanup_graph(graph_t * g)
-{
-}
-
 void sfdp_cleanup(graph_t * g)
 {
     node_t *n;
@@ -357,6 +353,5 @@ void sfdp_cleanup(graph_t * g)
        }
        gv_cleanup_node(n);
     }
-    sfdp_cleanup_graph(g);
 }