From: Costa Shulyupin Date: Sun, 20 Feb 2022 05:53:05 +0000 (+0200) Subject: avoid unused args in callbacks freeItem X-Git-Tag: 4.0.0~202^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52992ec14676db11370f8ea29b4926e71c4f713e;p=graphviz avoid unused args in callbacks freeItem the function must be compatible with specified signature --- 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); }