diff options
author | 2015-08-20 10:00:28 -0400 | |
---|---|---|
committer | 2015-08-20 10:00:28 -0400 | |
commit | 5c0edb3435a07372bf89ef19e9730066aecc6b8c (patch) | |
tree | 062b9bc20a9d8f9ee9be39ce30638ca0f0266cf0 /src/firemon/firemon.c | |
parent | testing (diff) | |
parent | Compile with -W -Wall -Werror (diff) | |
download | firejail-5c0edb3435a07372bf89ef19e9730066aecc6b8c.tar.gz firejail-5c0edb3435a07372bf89ef19e9730066aecc6b8c.tar.zst firejail-5c0edb3435a07372bf89ef19e9730066aecc6b8c.zip |
Merge pull request #35 from pmillerchip/warnings-cleanup
Compile with -W -Wall -Werror
Diffstat (limited to 'src/firemon/firemon.c')
-rw-r--r-- | src/firemon/firemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/firemon/firemon.c b/src/firemon/firemon.c index d77d11a7a..d3c89651e 100644 --- a/src/firemon/firemon.c +++ b/src/firemon/firemon.c | |||
@@ -40,6 +40,9 @@ static struct termios twait; // no wait on key press | |||
40 | static int terminal_set = 0; | 40 | static int terminal_set = 0; |
41 | 41 | ||
42 | static void my_handler(int s){ | 42 | static void my_handler(int s){ |
43 | // Remove unused parameter warning | ||
44 | (void)s; | ||
45 | |||
43 | if (terminal_set) | 46 | if (terminal_set) |
44 | tcsetattr(0, TCSANOW, &tlocal); | 47 | tcsetattr(0, TCSANOW, &tlocal); |
45 | exit(0); | 48 | exit(0); |