mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
fix compiler warning: unreferenced formal parameter
This commit is contained in:
parent
c57e748107
commit
d220ac8582
@ -142,6 +142,8 @@ static void callback(void *arg, int status, int timeouts, struct hostent *host)
|
||||
{
|
||||
char **p;
|
||||
|
||||
(void)timeouts;
|
||||
|
||||
if (status != ARES_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "%s: %s\n", (char *) arg, ares_strerror(status));
|
||||
|
Loading…
x
Reference in New Issue
Block a user