aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-10-16 18:09:57 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-10-16 18:09:57 +0000
commit65ba6e3337d5f328c614a9e6b8e15b8d74d9b5e9 (patch)
tree64c9a462fe3b6a4336560789e5a67d299f7789eb /lib
parentfbb5518ab6f4dc6737d5c7ccb325cbdb0830cd08 (diff)
Fixed compiler warning re: unused variable `bigsize'
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c4
1 files changed, 3 insertions, 1 deletions
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: