projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
07b67fa
)
watchdogd(8): Silence a warning differently.
author
Sascha Wildner <saw@online.de>
Thu, 18 Oct 2012 22:13:41 +0000 (
00:13
+0200)
committer
Sascha Wildner <saw@online.de>
Thu, 18 Oct 2012 22:14:41 +0000 (
00:14
+0200)
Also satisfies -Wunused-but-set-parameter.
Found-by: gcc47
usr.sbin/watchdogd/watchdogd.c
patch
|
blob
|
blame
|
history
diff --git
a/usr.sbin/watchdogd/watchdogd.c
b/usr.sbin/watchdogd/watchdogd.c
index
4d23068
..
49824e1
100644
(file)
--- a/
usr.sbin/watchdogd/watchdogd.c
+++ b/
usr.sbin/watchdogd/watchdogd.c
@@
-48,9
+48,8
@@
usage(void)
/* ARGSUSED */
void
-sighdlr(int signum)
+sighdlr(__unused int signum)
{
- signum = 0; /* Silence warnings */
quit = 1;
}