From 52992ec14676db11370f8ea29b4926e71c4f713e Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Sun, 20 Feb 2022 07:53:05 +0200 Subject: [PATCH] avoid unused args in callbacks freeItem the function must be compatible with specified signature --- lib/common/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/common/utils.c b/lib/common/utils.c index 3714dfef5..cd6fe02af 100644 --- a/lib/common/utils.c +++ b/lib/common/utils.c @@ -990,6 +990,8 @@ static void *newItem(Dt_t * d, item * objp, Dtdisc_t * disc) */ static void freeItem(Dt_t * d, item * obj, Dtdisc_t * disc) { + (void)d; + (void)disc; free(obj); } -- 2.40.0