summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2015-07-26 19:12:29 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2015-07-26 19:12:29 +0000
commitfcbf07a3d7e798c8ba95cbed807e5f916e0e8654 (patch)
tree88f489a88afd3a6aa328fde0d4acf61075810587
parentb538f3431d3d5ddfb4d840e86084056c22244bfa (diff)
remove unused variable
ok tedu@
-rw-r--r--usr.bin/nc/netcat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c
index 905ae4ea6d9..6358539418d 100644
--- a/usr.bin/nc/netcat.c
+++ b/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netcat.c,v 1.129 2015/03/26 21:22:50 tobias Exp $ */
+/* $OpenBSD: netcat.c,v 1.130 2015/07/26 19:12:28 chl Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
*
@@ -749,7 +749,7 @@ readwrite(int net_fd)
size_t netinbufpos = 0;
unsigned char stdinbuf[BUFSIZE];
size_t stdinbufpos = 0;
- int n, num_fds, flags;
+ int n, num_fds;
ssize_t ret;
/* don't read from stdin if requested */