From 16dd7c128dfd696e25c148df6c58c1281c88ace7 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Mon, 18 Aug 2003 15:47:17 +0000 Subject: [PATCH] remove a variable that is never used. Obtained from: KAME MFC after: 1 week --- usr.sbin/route6d/route6d.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c index 904c0bcaf5a5..9b2aa1f5f6b3 100644 --- a/usr.sbin/route6d/route6d.c +++ b/usr.sbin/route6d/route6d.c @@ -209,7 +209,6 @@ int logopened = 0; static u_long seq = 0; -volatile int signo; volatile sig_atomic_t seenalrm; volatile sig_atomic_t seenquit; volatile sig_atomic_t seenusr1; @@ -464,7 +463,6 @@ main(argc, argv) continue; } - signo = 0; #ifdef HAVE_POLL_H switch (poll(set, 2, INFTIM)) #else @@ -506,11 +504,10 @@ main(argc, argv) } void -sighandler(sig) - int sig; +sighandler(signo) + int signo; { - signo = sig; switch (signo) { case SIGALRM: seenalrm++;