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

lib/gvpr/queue.c

index afbf7d9961d130944cbb926d746277cb1457a0e5..27642dfd089dad7cffcff1f4d3955abc9b90e217 100644 (file)
@@ -25,6 +25,9 @@ typedef struct {
 
 static void *makef(Dt_t * d, nsitem * obj, Dtdisc_t * disc)
 {
+    (void)d;
+    (void)disc;
+
     nsitem *p = gv_alloc(sizeof(nsitem));
     p->np = obj->np;
     return p;