smallwrite: remove unnecessary assertion

The alpha remap array is always big enough to remap characters. Silences
Coverity issue CID 167663.
This commit is contained in:
Justin Viiret 2017-05-02 10:20:59 +10:00 committed by Matthew Barr
parent 29ad557b9c
commit 4a417c42e5

View File

@ -698,7 +698,6 @@ unique_ptr<raw_dfa> buildDfa(LitTrie &trie, bool nocase) {
continue;
}
auto v_state = state_ids.at(v);
assert((u16)trie[v].c < alpha.size());
u16 sym = alpha[trie[v].c];
DEBUG_PRINTF("edge to %u on 0x%02x (sym %u)\n", v_state,
trie[v].c, sym);