Commit 74c500b6 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: unreferenced formal parameter

parent 26aeadbc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);