Commit 65f68f7b authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2387] Add some assertions anyway

parent 0e61367a
......@@ -96,6 +96,7 @@ 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);
......
......@@ -173,6 +173,7 @@ 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);
......
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