From: Ruben Kerkhof Date: Mon, 14 May 2018 12:57:00 +0000 (+0200) Subject: collectd-tg: fix warning X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e88eef3544bd1cd44463dafda9ac72cc329d508c;p=collectd.git collectd-tg: fix warning src/collectd-tg.c:98:32: warning: unused parameter 'signal' [-Wunused-parameter] static void signal_handler(int signal) /* {{{ */ ^ --- diff --git a/src/collectd-tg.c b/src/collectd-tg.c index 9357ce3d..4669c655 100644 --- a/src/collectd-tg.c +++ b/src/collectd-tg.c @@ -95,7 +95,7 @@ __attribute__((noreturn)) static void exit_usage(int exit_status) /* {{{ */ exit(exit_status); } /* }}} void exit_usage */ -static void signal_handler(int signal) /* {{{ */ +static void signal_handler(int __attribute__((unused)) signal) /* {{{ */ { loop = false; } /* }}} void signal_handler */