mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Stop unused variable warning on WIN32 et al.
This commit is contained in:
parent
98c08a6312
commit
ba4526e071
@ -1750,9 +1750,11 @@ static int sv_body(char *hostname, int s, unsigned char *context)
|
||||
unsigned long l;
|
||||
SSL *con=NULL;
|
||||
BIO *sbio;
|
||||
struct timeval timeout, *timeoutp;
|
||||
struct timeval timeout;
|
||||
#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_NETWARE) || defined(OPENSSL_SYS_BEOS_R5)
|
||||
struct timeval tv;
|
||||
#else
|
||||
struct timeval *timeoutp;
|
||||
#endif
|
||||
|
||||
if ((buf=OPENSSL_malloc(bufsize)) == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user