From 51d57129771526a0a22b423bfa7f2dfc0e1221fb Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 7 Apr 2008 12:44:47 +0000 Subject: [PATCH] fix compiler warning: unreferenced formal parameter --- adig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adig.c b/adig.c index 3a8b1f7f..e579c55f 100644 --- a/adig.c +++ b/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);