i variable is used on some platforms

This commit is contained in:
Dr. Stephen Henson 2010-07-05 11:03:50 +00:00
parent 28566b4966
commit 497b4f92d2

View 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