diff options
author | ume <ume@FreeBSD.org> | 2003-08-18 15:47:17 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-08-18 15:47:17 +0000 |
commit | ba2bc5b90891a3a70ef8ba7d4c01f5c500d5fd85 (patch) | |
tree | bbbe16039c81cab110ea2d1523738f75a8fc7d75 /usr.sbin/route6d | |
parent | 305bef8b9ab99ac2f80832cfa9a81ab3cd4eb2b8 (diff) | |
download | FreeBSD-src-ba2bc5b90891a3a70ef8ba7d4c01f5c500d5fd85.zip FreeBSD-src-ba2bc5b90891a3a70ef8ba7d4c01f5c500d5fd85.tar.gz |
remove a variable that is never used.
Obtained from: KAME
MFC after: 1 week
Diffstat (limited to 'usr.sbin/route6d')
-rw-r--r-- | usr.sbin/route6d/route6d.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c index 904c0bc..9b2aa1f 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++; |