From: Costa Shulyupin Date: Wed, 16 Feb 2022 10:57:08 +0000 (+0200) Subject: avoid unused args in ps_image_free X-Git-Tag: 4.0.0~202^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a753929b916541e98f5fb120ff2fe894846cc2bc;p=graphviz avoid unused args in ps_image_free the function must have signature, compatible typedef void (*Dtfree_f)(Dt_t*,void*,Dtdisc_t*); --- 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); }