i variable is used on some platforms
authorDr. Stephen Henson <steve@openssl.org>
Mon, 5 Jul 2010 11:03:50 +0000 (11:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 5 Jul 2010 11:03:50 +0000 (11:03 +0000)
apps/s_socket.c

index 1483778..c08544a 100644 (file)
@@ -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