summaryrefslogtreecommitdiff
path: root/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
commit940b551d2a9432702c9b9d43ab039425412a1148 (patch)
tree405044375009f210710c37652de669a75220c9a3 /ahost.c
parent9fae0a48b1e1d6ae338a955ff34749d7216b2c86 (diff)
downloadc-ares-940b551d2a9432702c9b9d43ab039425412a1148.tar.gz
c-ares-940b551d2a9432702c9b9d43ab039425412a1148.tar.bz2
c-ares-940b551d2a9432702c9b9d43ab039425412a1148.zip
fix compiler warning: unreferenced formal parameter
Diffstat (limited to 'ahost.c')
-rw-r--r--ahost.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ahost.c b/ahost.c
index a5f8fb5..882efcc 100644
--- a/ahost.c
+++ b/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));