summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2017-05-01 02:27:12 +0000
committerDamien Miller <djm@cvs.openbsd.org>2017-05-01 02:27:12 +0000
commit58b6159d983b0308019b4aa4d281e132883b28c6 (patch)
tree2bf8f9ef9cb190552d5198b31aff1e2772580ad2 /usr.bin
parent29684e861d5df57e577b8595fc9aa98aa836421d (diff)
remove unused variable
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/sshconnect.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index 46096ef9172..b80660094ce 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/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
@@ -534,7 +534,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;
@@ -545,7 +544,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;