[openssh-commits] [openssh] 01/02: avoid warning

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Mar 4 07:59:26 AEDT 2015


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 2fab9b0f8720baf990c931e3f68babb0bf9949c6
Author: Damien Miller <djm at mindrot.org>
Date:   Wed Mar 4 07:41:27 2015 +1100

    avoid warning
---
 regress/netcat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/regress/netcat.c b/regress/netcat.c
index f8fc7ee..6be6e05 100644
--- a/regress/netcat.c
+++ b/regress/netcat.c
@@ -1471,7 +1471,7 @@ socks_connect(const char *host, const char *port,
     int socksv, const char *proxyuser)
 {
 	int proxyfd, r, authretry = 0;
-	size_t hlen, wlen;
+	size_t hlen, wlen = 0;
 	unsigned char buf[1024];
 	size_t cnt;
 	struct sockaddr_storage addr;

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list