aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-04-07 12:44:47 +0000
committerYang Tse <yangsita@gmail.com>2008-04-07 12:44:47 +0000
commit74c500b6ec839112daa83590fdb8c3de5f2071ff (patch)
tree96163fd64be335424d1b7e28d857462e6e655079 /ares
parent26aeadbc3ef72cfe4a0aa88ae42091bf5a7b3099 (diff)
fix compiler warning: unreferenced formal parameter
Diffstat (limited to 'ares')
-rw-r--r--ares/adig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/adig.c b/ares/adig.c
index 3a8b1f7f1..e579c55f3 100644
--- a/ares/adig.c
+++ b/ares/adig.c
@@ -304,6 +304,8 @@ static void callback(void *arg, int status, int timeouts,
unsigned int qdcount, ancount, nscount, arcount, i;
const unsigned char *aptr;
+ (void) timeouts;
+
/* Display the query name if given. */
if (name)
printf("Answer for query %s:\n", name);