summaryrefslogtreecommitdiffstats
path: root/sshconnect.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-05-01 04:27:11 +0200
committerDamien Miller <djm@mindrot.org>2017-05-01 04:28:06 +0200
commitf382362e8dfb6b277f16779ab1936399d7f2af78 (patch)
tree4cd453c72fd825b52ec9477f470dfec0ea69824e /sshconnect.c
parentupstream commit (diff)
downloadopenssh-f382362e8dfb6b277f16779ab1936399d7f2af78.tar.xz
openssh-f382362e8dfb6b277f16779ab1936399d7f2af78.zip
upstream commit
remove unused variable Upstream-ID: 66011f00819d0e71b14700449a98414033284516
Diffstat (limited to '')
-rw-r--r--sshconnect.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 28fd62104..0af5f55bc 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.277 2017/04/30 23:18:44 djm Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.278 2017/05/01 02:27:11 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -544,7 +544,6 @@ ssh_exchange_identification(int timeout_ms)
int remote_major, remote_minor, mismatch;
int connection_in = packet_get_connection_in();
int connection_out = packet_get_connection_out();
- int client_banner_sent = 0;
u_int i, n;
size_t len;
int fdsetsz, remaining, rc;
@@ -555,7 +554,6 @@ ssh_exchange_identification(int timeout_ms)
fdset = xcalloc(1, fdsetsz);
send_client_banner(connection_out, 0);
- client_banner_sent = 1;
/* Read other side's version identification. */
remaining = timeout_ms;