1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

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