]> granicus.if.org Git - curl/commitdiff
fix compiler warning: unreferenced formal parameter
authorYang Tse <yangsita@gmail.com>
Mon, 26 May 2008 13:52:25 +0000 (13:52 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 26 May 2008 13:52:25 +0000 (13:52 +0000)
ares/ahost.c

index a5f8fb5af71000c174b2f410b7a179ffa70fe476..882efcc77490c8532b4c371a4787d79518897fb0 100644 (file)
@@ -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));