diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-05 14:48:19 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-05 14:48:19 (GMT) |
commit | d859ad258c25477aae52b0dac28ceb891ef0661d (patch) | |
tree | b947ac369b02fd3775f27a6e868e6c6962db4f95 /Source | |
parent | c70beb4bee01898345c5d8a0279c39925542eea3 (diff) | |
download | CMake-d859ad258c25477aae52b0dac28ceb891ef0661d.zip CMake-d859ad258c25477aae52b0dac28ceb891ef0661d.tar.gz CMake-d859ad258c25477aae52b0dac28ceb891ef0661d.tar.bz2 |
ERR: Remove warnings on Borland
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/Curl/dict.c | 2 | ||||
-rw-r--r-- | Source/CTest/Curl/hostip.c | 1 | ||||
-rw-r--r-- | Source/CTest/Curl/telnet.c | 1 | ||||
-rw-r--r-- | Source/CTest/Curl/url.c | 2 | ||||
-rw-r--r-- | Source/CTest/Curl/version.c | 2 |
5 files changed, 6 insertions, 2 deletions
diff --git a/Source/CTest/Curl/dict.c b/Source/CTest/Curl/dict.c index 94257c9..df8c5b5 100644 --- a/Source/CTest/Curl/dict.c +++ b/Source/CTest/Curl/dict.c @@ -228,7 +228,7 @@ CURLcode Curl_dict(struct connectdata *conn) return result; } } - + (void)nth; return CURLE_OK; } diff --git a/Source/CTest/Curl/hostip.c b/Source/CTest/Curl/hostip.c index fc12bd7..874e47c 100644 --- a/Source/CTest/Curl/hostip.c +++ b/Source/CTest/Curl/hostip.c @@ -549,6 +549,7 @@ static Curl_addrinfo *my_getaddrinfo(struct SessionHandle *data, * Stevens' Unix Network Programming 2nd editor, p. 304: 8192 bytes! */ port=0; /* unused in IPv4 code */ ret = 0; /* to prevent the compiler warning */ + (void)ret; if ( (in=inet_addr(hostname)) != INADDR_NONE ) { struct in_addr *addrentry; diff --git a/Source/CTest/Curl/telnet.c b/Source/CTest/Curl/telnet.c index 876d311..657698b 100644 --- a/Source/CTest/Curl/telnet.c +++ b/Source/CTest/Curl/telnet.c @@ -867,6 +867,7 @@ static void suboption(struct connectdata *conn) printsub(data, '>', &temp[2], len-2); break; } + (void)subchar; return; } diff --git a/Source/CTest/Curl/url.c b/Source/CTest/Curl/url.c index 6016de1..b22510a 100644 --- a/Source/CTest/Curl/url.c +++ b/Source/CTest/Curl/url.c @@ -1337,6 +1337,7 @@ ConnectionKillOne(struct SessionHandle *data) /* the winner gets the honour of being disconnected */ result = Curl_disconnect(data->state.connects[connindex]); + (void)result; /* clean the array entry */ data->state.connects[connindex] = NULL; @@ -1924,6 +1925,7 @@ static CURLcode CreateConnection(struct SessionHandle *data, } buf = data->state.buffer; /* this is our buffer */ + (void)buf; /* * So if the URL was A://B/C, diff --git a/Source/CTest/Curl/version.c b/Source/CTest/Curl/version.c index 41a71bf..9f3e390 100644 --- a/Source/CTest/Curl/version.c +++ b/Source/CTest/Curl/version.c @@ -114,7 +114,7 @@ char *curl_version(void) sprintf(ptr, " zlib/%s", zlibVersion()); ptr += strlen(ptr); #endif - + (void)ptr; return version; } |