]> granicus.if.org Git - graphviz/commitdiff
gvpr freef: squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 7 Aug 2022 03:16:19 +0000 (20:16 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 7 Aug 2022 03:16:19 +0000 (20:16 -0700)
These cannot easily be removed because this function is used as a callback.

lib/gvpr/queue.c

index 27642dfd089dad7cffcff1f4d3955abc9b90e217..457043bd244af4a8b8ade60f52f10393beeb3d12 100644 (file)
@@ -35,6 +35,9 @@ static void *makef(Dt_t * d, nsitem * obj, Dtdisc_t * disc)
 
 static void freef(Dt_t * d, nsitem * obj, Dtdisc_t * disc)
 {
+    (void)d;
+    (void)disc;
+
     free(obj);
 }