From: Dan Fandrich Date: Tue, 16 Oct 2007 18:09:57 +0000 (+0000) Subject: Fixed compiler warning re: unused variable `bigsize' X-Git-Tag: curl-7_17_1~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65ba6e3337d5f328c614a9e6b8e15b8d74d9b5e9;p=thirdparty%2Fcurl.git Fixed compiler warning re: unused variable `bigsize' --- diff --git a/lib/url.c b/lib/url.c index 35dce95411..461bfe36bf 100644 --- a/lib/url.c +++ b/lib/url.c @@ -771,8 +771,10 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, va_list param) { char *argptr; - curl_off_t bigsize; CURLcode result = CURLE_OK; +#ifndef CURL_DISABLE_HTTP + curl_off_t bigsize; +#endif switch(option) { case CURLOPT_DNS_CACHE_TIMEOUT: