From: Yang Tse Date: Mon, 26 May 2008 13:52:25 +0000 (+0000) Subject: fix compiler warning: unreferenced formal parameter X-Git-Tag: cares-1_5_2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d220ac8582cc47361271964552a0fc6ea205edfd;p=curl fix compiler warning: unreferenced formal parameter --- diff --git a/ares/ahost.c b/ares/ahost.c index a5f8fb5af..882efcc77 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));