From 96f4aa255310d9e09354618af5339e2a91f980b8 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 6 Aug 2022 20:16:19 -0700 Subject: [PATCH] gvpr freef: 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 27642dfd0..457043bd2 100644 --- a/lib/gvpr/queue.c +++ b/lib/gvpr/queue.c @@ -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); } -- 2.40.0