wininet: Fix a warning when compiling --without-openssl.

This commit is contained in:
Jerome Leclanche 2011-06-20 06:16:31 +01:00 committed by Alexandre Julliard
parent c28baa7b96
commit f30616e257
1 changed files with 2 additions and 2 deletions

View File

@ -656,10 +656,10 @@ int sock_get_error( int err )
*/ */
DWORD NETCON_secure_connect(netconn_t *connection, LPWSTR hostname) DWORD NETCON_secure_connect(netconn_t *connection, LPWSTR hostname)
{ {
void *ssl_s;
DWORD res = ERROR_NOT_SUPPORTED; DWORD res = ERROR_NOT_SUPPORTED;
#ifdef SONAME_LIBSSL #ifdef SONAME_LIBSSL
void *ssl_s;
/* can't connect if we are already connected */ /* can't connect if we are already connected */
if (connection->ssl_s) if (connection->ssl_s)
{ {