1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-12-09 12:30:07 +00:00

fix compiler warning: unreferenced formal parameter

This commit is contained in:
Yang Tse
2008-04-07 12:44:47 +00:00
parent 43a712743a
commit 51d5712977

2
adig.c
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);