diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-04-26 14:46:40 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-04-26 14:47:11 +0200 |
commit | 4112e4fa36563699611c95d7a39664bcfa46a9b1 (patch) | |
tree | 53bfbd93985883d78252f9b0bba86c758aebbdb2 | |
parent | 4cc9f0befecc409684adab0b2924a763ec31b807 (diff) |
ifpps: Mark arg parameter of on_panic_handler() as unused
This fixes the following -Wunused-parameter warning:
ifpps.c: In function ‘on_panic_handler’:
ifpps.c:1128:36: warning: unused parameter ‘arg’ [-Wunused-parameter]
static void on_panic_handler(void *arg)
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | ifpps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1125,7 +1125,7 @@ static void screen_update(WINDOW *screen, const char *ifname, const struct ifsta refresh(); } -static void on_panic_handler(void *arg) +static void on_panic_handler(void *arg __maybe_unused) { screen_end(); fprintf(stderr, "Please check <stderr> for error message\n"); |