]> granicus.if.org Git - openssl/commitdiff
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 a9228f42a6b2b433ffdb263cd0b7a6fe59422e9c..57474753993d5334f8b8d737561fc06467e1f437 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