BIND 10 trac2387, updated. 1b9e3430ec2b9a378107877e5470bf567ce17601 [2387] Revert "Add some assertions anyway"

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Apr 10 07:58:29 UTC 2013


The branch, trac2387 has been updated
       via  1b9e3430ec2b9a378107877e5470bf567ce17601 (commit)
      from  3c704fca950603ec97ad259462500fe6fbd549c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1b9e3430ec2b9a378107877e5470bf567ce17601
Author: Mukund Sivaraman <muks at isc.org>
Date:   Wed Apr 10 13:25:24 2013 +0530

    [2387] Revert "Add some assertions anyway"
    
    This reverts commit 65f68f7b9235307f8af029b37ebc7c2a309ed7e9.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dns/rdata/generic/detail/nsec_bitmap.cc |    1 -
 src/lib/dns/rdata/generic/dnskey_48.cc          |    1 -
 2 files changed, 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/rdata/generic/detail/nsec_bitmap.cc b/src/lib/dns/rdata/generic/detail/nsec_bitmap.cc
index 4c1c6dd..5deaa69 100644
--- a/src/lib/dns/rdata/generic/detail/nsec_bitmap.cc
+++ b/src/lib/dns/rdata/generic/detail/nsec_bitmap.cc
@@ -96,7 +96,6 @@ buildBitmapsFromLexer(const char* const rrtype_name,
         }
 
         // token is now assured to be of type STRING.
-        assert(token.getType() == MasterToken::STRING);
 
         have_rrtypes = true;
         token.getString(type_str);
diff --git a/src/lib/dns/rdata/generic/dnskey_48.cc b/src/lib/dns/rdata/generic/dnskey_48.cc
index 43ba8e5..2e9a9f3 100644
--- a/src/lib/dns/rdata/generic/dnskey_48.cc
+++ b/src/lib/dns/rdata/generic/dnskey_48.cc
@@ -189,7 +189,6 @@ DNSKEY::constructFromLexer(MasterLexer& lexer) {
         }
 
         // token is now assured to be of type STRING.
-        assert(token.getType() == MasterToken::STRING);
 
         token.getString(keydata_substr);
         keydata_str.append(keydata_substr);



More information about the bind10-changes mailing list