diff --git a/Source/CTest/Curl/dict.c b/Source/CTest/Curl/dict.c index 94257c9b36..df8c5b5056 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 fc12bd7b20..874e47cf0b 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 876d311527..657698b65d 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 6016de14b9..b22510a559 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 41a71bfcca..9f3e3906f4 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; }