From ae9bdb8454c3fb030960c37262d787efcf52f9e0 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 6 Aug 2022 20:15:42 -0700 Subject: [PATCH] gvpr makef: squash -Wunused-parameter warnings These cannot easily be removed because this function is used as a callback. --- lib/gvpr/queue.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/gvpr/queue.c b/lib/gvpr/queue.c index afbf7d996..27642dfd0 100644 --- a/lib/gvpr/queue.c +++ b/lib/gvpr/queue.c @@ -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; -- 2.40.0