mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
ERR: Remove warnings on Borland
This commit is contained in:
parent
c70beb4bee
commit
d859ad258c
@ -228,7 +228,7 @@ CURLcode Curl_dict(struct connectdata *conn)
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
(void)nth;
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -867,6 +867,7 @@ static void suboption(struct connectdata *conn)
|
||||
printsub(data, '>', &temp[2], len-2);
|
||||
break;
|
||||
}
|
||||
(void)subchar;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
@ -114,7 +114,7 @@ char *curl_version(void)
|
||||
sprintf(ptr, " zlib/%s", zlibVersion());
|
||||
ptr += strlen(ptr);
|
||||
#endif
|
||||
|
||||
(void)ptr;
|
||||
return version;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user