diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-13 14:45:30 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-13 14:45:30 (GMT) |
commit | 68c3550faa5793a0445c457d65b2f491cee559df (patch) | |
tree | a70725db48ebdf08329f00868199aeb2880abb23 /Source/CTest/Curl/url.c | |
parent | 3f75f0ea1e0404951797c2918d93465b9c612ea0 (diff) | |
download | CMake-68c3550faa5793a0445c457d65b2f491cee559df.zip CMake-68c3550faa5793a0445c457d65b2f491cee559df.tar.gz CMake-68c3550faa5793a0445c457d65b2f491cee559df.tar.bz2 |
COMP: Remove warnings on borland build
Diffstat (limited to 'Source/CTest/Curl/url.c')
-rw-r--r-- | Source/CTest/Curl/url.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/CTest/Curl/url.c b/Source/CTest/Curl/url.c index 63ce697..b532e20 100644 --- a/Source/CTest/Curl/url.c +++ b/Source/CTest/Curl/url.c @@ -1869,6 +1869,7 @@ static int handleSock5Proxy(const char *proxy_name, if(rc == CURLRESOLV_PENDING) /* this requires that we're in "wait for resolve" state */ rc = Curl_wait_for_resolv(conn, &dns); + (void)rc; /* * We cannot use 'hostent' as a struct that Curl_resolv() returns. It @@ -2401,10 +2402,11 @@ static CURLcode CreateConnection(struct SessionHandle *data, * For compatibility, the all-uppercase versions of these variables are * checked if the lowercase versions don't exist. */ - char *no_proxy=NULL; + char *no_proxy; char *no_proxy_tok_buf; char *proxy=NULL; char proxy_env[128]; + (void)proxy; no_proxy=curl_getenv("no_proxy"); if(!no_proxy) |