From 65ba6e3337d5f328c614a9e6b8e15b8d74d9b5e9 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 16 Oct 2007 18:09:57 +0000 Subject: Fixed compiler warning re: unused variable `bigsize' --- lib/url.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/url.c b/lib/url.c index 35dce9541..461bfe36b 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: -- cgit v1.2.3