From 1b393f0b144f6299fd42d18e50d8b617240d55e3 Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Wed, 16 Feb 2022 12:50:50 +0200 Subject: [PATCH] avoid unused args in free_string_entry the function must have signature, compatible typedef void (*Dtfree_f)(Dt_t*,void*,Dtdisc_t*); --- lib/common/emit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/common/emit.c b/lib/common/emit.c index 858942390..079ce7f7c 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -3522,6 +3522,8 @@ void emit_graph(GVJ_t * job, graph_t * g) /* support for stderr_once */ static void free_string_entry(Dict_t * dict, char *key, Dtdisc_t * disc) { + (void)dict; + (void)disc; free(key); } -- 2.40.0