diff --git a/ares/ahost.c b/ares/ahost.c index a5f8fb5af71000c174b2f410b7a179ffa70fe476..882efcc77490c8532b4c371a4787d79518897fb0 100644 --- a/ares/ahost.c +++ b/ares/ahost.c @@ -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));