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
changes/07/19007/1
Guillem Jover 8 years ago
parent d48023f753
commit ec9b6ddf00

@ -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);
}

Loading…
Cancel
Save