diff options
author | 2014-05-17 21:37:51 +0000 | |
---|---|---|
committer | 2014-05-17 21:37:51 +0000 | |
commit | 4539ea34319a292d4da542579556534f7401d123 (patch) | |
tree | cda866049f61f121898ef52bf5d63493d7f59045 | |
parent | ...and it needs a guard against NULL as well. (diff) | |
download | wireguard-openbsd-4539ea34319a292d4da542579556534f7401d123.tar.xz wireguard-openbsd-4539ea34319a292d4da542579556534f7401d123.zip |
remove unused variables
ok miod@
-rw-r--r-- | usr.sbin/rbootd/rbootd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/rbootd/rbootd.c b/usr.sbin/rbootd/rbootd.c index c1751db1494..d2e0bae497a 100644 --- a/usr.sbin/rbootd/rbootd.c +++ b/usr.sbin/rbootd/rbootd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbootd.c,v 1.24 2013/04/20 20:11:41 deraadt Exp $ */ +/* $OpenBSD: rbootd.c,v 1.25 2014/05/17 21:37:51 chl Exp $ */ /* $NetBSD: rbootd.c,v 1.5 1995/10/06 05:12:17 thorpej Exp $ */ /* @@ -83,7 +83,7 @@ CLIENT *FindClient(RMPCONN *); int main(int argc, char *argv[]) { - int c, fd, maxfds; + int c, fd; sigset_t hmask, omask; struct passwd *pw; struct pollfd pfd[1]; @@ -208,7 +208,6 @@ main(int argc, char *argv[]) pfd[0].fd = fd; pfd[0].events = POLLIN; for (;;) { - struct timeval timeout; int nsel; /* |