Commit 1b9e3430 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2387] Revert "Add some assertions anyway"

This reverts commit 65f68f7b.
parent 3c704fca
...@@ -96,7 +96,6 @@ buildBitmapsFromLexer(const char* const rrtype_name, ...@@ -96,7 +96,6 @@ buildBitmapsFromLexer(const char* const rrtype_name,
} }
// token is now assured to be of type STRING. // token is now assured to be of type STRING.
assert(token.getType() == MasterToken::STRING);
have_rrtypes = true; have_rrtypes = true;
token.getString(type_str); token.getString(type_str);
......
...@@ -189,7 +189,6 @@ DNSKEY::constructFromLexer(MasterLexer& lexer) { ...@@ -189,7 +189,6 @@ DNSKEY::constructFromLexer(MasterLexer& lexer) {
} }
// token is now assured to be of type STRING. // token is now assured to be of type STRING.
assert(token.getType() == MasterToken::STRING);
token.getString(keydata_substr); token.getString(keydata_substr);
keydata_str.append(keydata_substr); keydata_str.append(keydata_substr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment