From: Dr. Stephen Henson Date: Sun, 20 Sep 2009 13:26:46 +0000 (+0000) Subject: Stop unused variable warning. X-Git-Tag: OpenSSL_0_9_8m-beta1~103 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=822da9ccc36e6e51790ef4a6af678392c1582041;p=oweals%2Fopenssl.git Stop unused variable warning. --- diff --git a/apps/s_server.c b/apps/s_server.c index cedd64c43c..f1232fd3dc 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1594,9 +1594,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) struct timeval tv; +#else + struct timeval *timeoutp; #endif if ((buf=OPENSSL_malloc(bufsize)) == NULL)