fix compiler warning: unreferenced formal parameter

This commit is contained in:
Yang Tse 2008-04-07 12:44:47 +00:00
parent 26aeadbc3e
commit 74c500b6ec
1 changed files with 2 additions and 0 deletions

View File

@ -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);