summaryrefslogtreecommitdiff
path: root/usr.bin/sup
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2004-05-31 15:48:27 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2004-05-31 15:48:27 +0000
commit8982b5e0858abbf4a787540503ab68b8b24aa3ef (patch)
tree897b3fa3e60ea746a7f9c926c089defd62ee6d38 /usr.bin/sup
parentfca99464be8305e4c5f51c80d5333a9b886cb9c8 (diff)
zap unused variables, ok beck@
Diffstat (limited to 'usr.bin/sup')
-rw-r--r--usr.bin/sup/src/supcmain.c4
-rw-r--r--usr.bin/sup/src/supfilesrv.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/sup/src/supcmain.c b/usr.bin/sup/src/supcmain.c
index 099bdcddccb..b9b16f127d2 100644
--- a/usr.bin/sup/src/supcmain.c
+++ b/usr.bin/sup/src/supcmain.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: supcmain.c,v 1.18 2004/01/23 03:48:43 deraadt Exp $ */
+/* $OpenBSD: supcmain.c,v 1.19 2004/05/31 15:48:26 pedro Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -412,8 +412,6 @@ main(argc, argv)
endpwent(); /* close /etc/passwd */
endgrent(); /* close /etc/group */
if (restart == 1) {
- int fd;
-
if (!silent)
loginfo("SUP Restarting %s with new supfile %s",
progname, supfname);
diff --git a/usr.bin/sup/src/supfilesrv.c b/usr.bin/sup/src/supfilesrv.c
index e7cbc03fac4..31709e08f20 100644
--- a/usr.bin/sup/src/supfilesrv.c
+++ b/usr.bin/sup/src/supfilesrv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: supfilesrv.c,v 1.33 2004/01/23 03:48:43 deraadt Exp $ */
+/* $OpenBSD: supfilesrv.c,v 1.34 2004/05/31 15:48:26 pedro Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -740,8 +740,6 @@ answer()
docrypt();
srvlogin();
if (xpatch) {
- int fd;
-
x = msgxpatch();
if (x != SCMOK)
exit(0);