diff options
author | Eric Jackson <ericj@cvs.openbsd.org> | 2001-06-26 23:25:23 +0000 |
---|---|---|
committer | Eric Jackson <ericj@cvs.openbsd.org> | 2001-06-26 23:25:23 +0000 |
commit | 18f31a54a1a6dddbcc2c2fa9f4c69a3fd168cd45 (patch) | |
tree | 5cefb8fc5a17ca1f942e196a5dd548443a5b713c /usr.bin | |
parent | 7e2a81d1c2e32a16ca905acec90c84606368e83c (diff) |
remove some unused var's.
from jasoni@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/nc/netcat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c index 36bb0f5e8ca..206b3f8b6ce 100644 --- a/usr.bin/nc/netcat.c +++ b/usr.bin/nc/netcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netcat.c,v 1.27 2001/06/26 23:06:53 ericj Exp $ */ +/* $OpenBSD: netcat.c,v 1.28 2001/06/26 23:25:22 ericj Exp $ */ /* * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> * @@ -188,7 +188,6 @@ main(argc, argv) if (uflag) { int rv; char buf[1024]; - char hbuf[NI_MAXHOST], sbuf[NI_MAXSERV]; struct sockaddr_storage z; len = sizeof(z); @@ -442,7 +441,7 @@ atelnet(nfd, buf, size) unsigned char *buf; unsigned int size; { - int ret, pos = 0; + int ret; unsigned char *p, *end; unsigned char obuf[4]; |