projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0412f2
)
collectd-tg: fix warning
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 14 May 2018 12:57:00 +0000
(14:57 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 14 May 2018 12:57:00 +0000
(14:57 +0200)
src/collectd-tg.c:98:32: warning: unused parameter 'signal' [-Wunused-parameter]
static void signal_handler(int signal) /* {{{ */
^
src/collectd-tg.c
patch
|
blob
|
history
diff --git
a/src/collectd-tg.c
b/src/collectd-tg.c
index
9357ce3
..
4669c65
100644
(file)
--- 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 */