From ec9b6ddf00ee5ca2692dafc4a7562224aa007f1d Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 12 Feb 2018 20:13:18 +0100 Subject: [PATCH] TT#32917 Mark unused function argument as such This is a callback, so we cannot control the interface. Just mark it as unused with the __attribute__ keyword. Warned-by: gcc -Wextra Change-Id: If9ddfe5861b1113670cd4ec52696d869334951eb --- mediator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediator.c b/mediator.c index ecfd956..46c05da 100644 --- a/mediator.c +++ b/mediator.c @@ -46,7 +46,7 @@ static int mediator_load_maps() } /**********************************************************************/ -static void mediator_print_mapentry(gpointer key, gpointer value, gpointer d) +static void mediator_print_mapentry(gpointer key, gpointer value, gpointer d __attribute__((unused))) { syslog(LOG_DEBUG, "\t'%s' -> %s", (char*)key, (char*)value); }