From: Yang Tse Date: Mon, 26 May 2008 13:52:25 +0000 (+0000) Subject: fix compiler warning: unreferenced formal parameter X-Git-Tag: curl-7_18_2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d220ac8582cc47361271964552a0fc6ea205edfd;p=thirdparty%2Fcurl.git fix compiler warning: unreferenced formal parameter --- diff --git a/ares/ahost.c b/ares/ahost.c index a5f8fb5af7..882efcc774 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));