From c256ececbf02a05432057bdcbf34d06983e8f2a5 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 19 Oct 2012 00:13:41 +0200 Subject: [PATCH] watchdogd(8): Silence a warning differently. Also satisfies -Wunused-but-set-parameter. Found-by: gcc47 --- usr.sbin/watchdogd/watchdogd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/watchdogd/watchdogd.c b/usr.sbin/watchdogd/watchdogd.c index 4d23068f27..49824e10b1 100644 --- 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; } -- 2.41.0