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

index a9228f4..5747475 100644 (file)
@@ -400,6 +400,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