aboutsummaryrefslogtreecommitdiff
path: root/ares/ahost.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-26 13:52:25 +0000
committerYang Tse <yangsita@gmail.com>2008-05-26 13:52:25 +0000
commitd220ac8582cc47361271964552a0fc6ea205edfd (patch)
tree4fd9e26492ce6a4fe1fa6c16a588987ad2f0b0cb /ares/ahost.c
parentc57e748107935f94a16cda112f3b5dfce9a93481 (diff)
fix compiler warning: unreferenced formal parameter
Diffstat (limited to 'ares/ahost.c')
-rw-r--r--ares/ahost.c2
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));