diff options
author | Yang Tse <yangsita@gmail.com> | 2008-05-26 13:52:25 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-05-26 13:52:25 +0000 |
commit | d220ac8582cc47361271964552a0fc6ea205edfd (patch) | |
tree | 4fd9e26492ce6a4fe1fa6c16a588987ad2f0b0cb | |
parent | c57e748107935f94a16cda112f3b5dfce9a93481 (diff) |
fix compiler warning: unreferenced formal parameter
-rw-r--r-- | ares/ahost.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |