]> granicus.if.org Git - graphviz/commitdiff
nonefunc: squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 7 Nov 2021 01:32:25 +0000 (18:32 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Nov 2021 05:59:31 +0000 (21:59 -0800)
lib/common/emit.c

index c3d1c6f81e21c544da4c2c69dd419fe9b3a1b94f..25ef4c2756887700065cd4d3ed9c79d41cbba36a 100644 (file)
@@ -2216,6 +2216,9 @@ static double revfunc (double curlen, double totallen, double initwid)
 
 static double nonefunc (double curlen, double totallen, double initwid)
 {
+    (void)curlen;
+    (void)totallen;
+
     return initwid / 2.0;
 }