]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Fixed compiler warning re: unused variable `bigsize'
authorDan Fandrich <dan@coneharvesters.com>
Tue, 16 Oct 2007 18:09:57 +0000 (18:09 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 16 Oct 2007 18:09:57 +0000 (18:09 +0000)
lib/url.c

index 35dce95411ebe88539039fb2749256f6408cfaea..461bfe36bf845745c63fbfc1e4b32118bfa1cf75 100644 (file)
--- 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: