summaryrefslogtreecommitdiff
path: root/usr.sbin/inetd/inetd.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-08-01 19:05:24 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-08-01 19:05:24 +0000
commitd58440b157a9e204ba77fcbcea102cf00b721198 (patch)
tree5b08206d44e91396d8c3911579bb89ba33b97ad2 /usr.sbin/inetd/inetd.c
parentc3bd0b4f1ad6295904d2774937633abcf4ce7a19 (diff)
unused variable
Diffstat (limited to 'usr.sbin/inetd/inetd.c')
-rw-r--r--usr.sbin/inetd/inetd.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index ab2eea05062..5336539c9a3 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inetd.c,v 1.65 2000/08/01 19:02:05 itojun Exp $ */
+/* $OpenBSD: inetd.c,v 1.66 2000/08/01 19:05:23 itojun Exp $ */
/* $NetBSD: inetd.c,v 1.11 1996/02/22 11:14:41 mycroft Exp $ */
/*
* Copyright (c) 1983,1991 The Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)inetd.c 5.30 (Berkeley) 6/3/91";*/
-static char rcsid[] = "$OpenBSD: inetd.c,v 1.65 2000/08/01 19:02:05 itojun Exp $";
+static char rcsid[] = "$OpenBSD: inetd.c,v 1.66 2000/08/01 19:05:23 itojun Exp $";
#endif /* not lint */
/*
@@ -618,9 +618,7 @@ dg_badinput(sa)
struct in6_addr *in6;
#endif
u_int16_t port;
- int i, bad;
-
- bad = 0;
+ int i;
switch (sa->sa_family) {
case AF_INET: