From: Dr. Stephen Henson Date: Mon, 5 Jul 2010 11:03:50 +0000 (+0000) Subject: i variable is used on some platforms X-Git-Tag: OpenSSL_1_0_1-beta1~501 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=497b4f92d29c7131c5fdfeea2e55397d27337975;p=openssl i variable is used on some platforms --- diff --git a/apps/s_socket.c b/apps/s_socket.c index 14837783b4..c08544a13c 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -406,6 +406,7 @@ redoit: if (ret == INVALID_SOCKET) { #if defined(OPENSSL_SYS_WINDOWS) || (defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK)) + int i; i=WSAGetLastError(); BIO_printf(bio_err,"accept error %d\n",i); #else