]> granicus.if.org Git - graphviz/commitdiff
gc cntCluster: squash a -Wunused-parameter warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 17 Sep 2021 03:27:30 +0000 (20:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Sep 2021 23:20:12 +0000 (16:20 -0700)
cmd/tools/gc.c

index 7b5d714dadd38c5d7222b5196c4a8654ad9ecc7c..3022fd24dc867c36e22cd48f438a23191a0d2c99 100644 (file)
@@ -234,6 +234,8 @@ static void cc_dfs(Agraph_t * g, Agnode_t * n)
 
 static void cntCluster(Agraph_t * g, Agobj_t * sg, void *arg)
 {
+    (void)g;
+
     char *sgname = agnameof(sg);
 
     if (strncmp(sgname, "cluster", 7) == 0)