aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-02-12 03:21:40 +0000
committerEd Maste <emaste@FreeBSD.org>2021-02-12 03:22:30 +0000
commit9e14b918f956c532d0b81c945160bd9bc85c5604 (patch)
tree85b1bc3ae0c075abdfc64dba32a645eab4d4fa34
parent154adbbeb8fc2a0d183ec3a4db32cd13668205e8 (diff)
downloadsrc-9e14b918f956c532d0b81c945160bd9bc85c5604.tar.gz
src-9e14b918f956c532d0b81c945160bd9bc85c5604.zip
ssh: remove unused variable
This was introduced in 03f6c5cd93ec, which added use of sysctl net.inet.ip.portrange.reservedhigh instead of IPPORT_RESERVED, but it appears the rest of that change was lost in some subsequent update. The change should probably be restored, but until then there is no reason to leave an unused variable around. MFC after: 3 days Sponsored by: The FreeBSD Foundation
-rw-r--r--crypto/openssh/readconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/readconf.c b/crypto/openssh/readconf.c
index 434da47ce9e2..75fbd4ca222f 100644
--- a/crypto/openssh/readconf.c
+++ b/crypto/openssh/readconf.c
@@ -336,7 +336,7 @@ void
add_local_forward(Options *options, const struct Forward *newfwd)
{
struct Forward *fwd;
- int i, ipport_reserved;
+ int i;
/* Don't add duplicates */
for (i = 0; i < options->num_local_forwards; i++) {