From a753929b916541e98f5fb120ff2fe894846cc2bc Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Wed, 16 Feb 2022 12:57:08 +0200 Subject: [PATCH] avoid unused args in ps_image_free the function must have signature, compatible typedef void (*Dtfree_f)(Dt_t*,void*,Dtdisc_t*); --- lib/common/psusershape.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/common/psusershape.c b/lib/common/psusershape.c index 33d8b5159..e81840e0d 100644 --- a/lib/common/psusershape.c +++ b/lib/common/psusershape.c @@ -24,6 +24,8 @@ static Dict_t *EPSF_contents; static void ps_image_free(Dict_t * dict, usershape_t * p, Dtdisc_t * disc) { + (void)dict; + (void)disc; free(p->data); } -- 2.40.0