diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-08-04 16:54:58 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-08-04 16:54:58 +0000 |
commit | 7fe65aaf5bda5f48eebcc3f694485b2bc6b49d6c (patch) | |
tree | 4ffd23664ecfa3083067e8ad661af0be082975ff | |
parent | 0d3d84e3ffcaa6118cc4f33c5f2d6c9166d60662 (diff) |
Fixed a couple of compiler warnings.
-rw-r--r-- | lib/url.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -221,7 +221,7 @@ void Curl_freeset(struct SessionHandle * data) { /* Free all dynamic strings stored in the data->set substructure. */ enum dupstring i; - for(i=0; i < STRING_LAST; i++) + for(i=(enum dupstring)0; i < STRING_LAST; i++) Curl_safefree(data->set.str[i]); } @@ -3274,6 +3274,10 @@ static char *detect_proxy(struct connectdata *conn) } /* NO_PROXY wasn't specified or '*' */ if(no_proxy) free(no_proxy); + +#else /* !CURL_DISABLE_HTTP */ + + (void)conn; #endif /* CURL_DISABLE_HTTP */ return proxy; |