From d220ac8582cc47361271964552a0fc6ea205edfd Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 26 May 2008 13:52:25 +0000 Subject: [PATCH] fix compiler warning: unreferenced formal parameter --- ares/ahost.c | 2 ++ 1 file changed, 2 insertions(+) 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));