]> granicus.if.org Git - graphviz/commitdiff
common gvToggle: squash -Wunused-parameter warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 23 Dec 2022 02:56:37 +0000 (18:56 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Dec 2022 18:48:38 +0000 (10:48 -0800)
lib/common/utils.c

index f435ad0d344ec639a359dfb1e61574d30857542c..becac3a78e918cc34b843313fc5963070a39354f 100644 (file)
@@ -522,6 +522,7 @@ pointf spline_at_y(splines * spl, double y)
 static int Tflag;
 void gvToggle(int s)
 {
+    (void)s;
     Tflag = !Tflag;
 #if !defined(_WIN32)
     signal(SIGUSR1, gvToggle);