]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove unused parameter from next_origin
authorMark Andrews <marka@isc.org>
Sat, 29 Oct 2011 22:26:21 +0000 (22:26 +0000)
committerMark Andrews <marka@isc.org>
Sat, 29 Oct 2011 22:26:21 +0000 (22:26 +0000)
bin/dig/dighost.c

index 9b2ab1b1fb1cf97c9d55da7bd7097c68fe03636b..8f47e59e2c8584e554bc9a78fa8e25daa803daf3 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dighost.c,v 1.340 2011/03/11 06:11:20 marka Exp $ */
+/* $Id: dighost.c,v 1.341 2011/10/29 22:26:21 marka Exp $ */
 
 /*! \file
  *  \note
@@ -1838,12 +1838,10 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
  * Return ISC_TRUE iff there was another searchlist entry.
  */
 static isc_boolean_t
-next_origin(dns_message_t *msg, dig_query_t *query) {
+next_origin(dig_query_t *query) {
        dig_lookup_t *lookup;
        dig_searchlist_t *search;
 
-       UNUSED(msg);
-
        INSIST(!free_now);
 
        debug("next_origin()");
@@ -3360,7 +3358,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
        if (!l->doing_xfr || l->xfr_q == query) {
                if (msg->rcode != dns_rcode_noerror &&
                    (l->origin != NULL || l->need_search)) {
-                       if (!next_origin(msg, query) || showsearch) {
+                       if (!next_origin(query) || showsearch) {
                                printmessage(query, msg, ISC_TRUE);
                                received(b->used, &sevent->address, query);
                        }