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

index f508f94cdedcf5a4f3fa075724b774bc377aca1e..107d19d3a34c8adc39f6472db779e53113028112 100644 (file)
@@ -38,6 +38,8 @@ static graph_t * G;
 #ifndef _WIN32
 static void intr(int s)
 {
+    (void)s;
+
 /* if interrupted we try to produce a partial rendering before exiting */
     if (G)
        gvRenderJobs(Gvc, G);