]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
simplify conditional code
authorMark Andrews <marka@isc.org>
Sun, 19 Jun 2005 22:12:31 +0000 (22:12 +0000)
committerMark Andrews <marka@isc.org>
Sun, 19 Jun 2005 22:12:31 +0000 (22:12 +0000)
bin/dig/dighost.c

index 1fe537a0f585787e0b82d2d8c913b3d4f2d2f50e..2245102b048bc67086c3a0555480ff7ff36e84fc 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dighost.c,v 1.278 2005/06/07 00:59:59 marka Exp $ */
+/* $Id: dighost.c,v 1.279 2005/06/19 22:12:31 marka Exp $ */
 
 /*! \file
  *  \note
@@ -2888,9 +2888,6 @@ recv_done(isc_task_t *task, isc_event_t *event) {
        }
 
        if (!l->doing_xfr || l->xfr_q == query) {
-#ifdef DIG_SIGCHASE
-               int count = 0;
-#endif
                if (msg->rcode != dns_rcode_noerror && l->origin != NULL) {
                        if (!next_origin(msg, query)) {
                                printmessage(query, msg, ISC_TRUE);
@@ -2903,11 +2900,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
                                printmessage(query, msg, ISC_TRUE);
                } else if (l->trace) {
                        int n = 0;
-#ifdef DIG_SIGCHASE
-                       count = msg->counts[DNS_SECTION_ANSWER];
-#else
                        int count = msg->counts[DNS_SECTION_ANSWER];
-#endif
 
                        debug("in TRACE code");
                        if (!l->ns_search_only)