mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-12-31 13:49:07 +03:00
first batch of cppcheck disables and a few more stl-ifications,
involving use of accumulate() .
This commit is contained in:
@@ -136,6 +136,7 @@ void FDRCompiler::createInitialState(FDR *fdr) {
|
||||
const vector<LiteralIndex> &bucket_lits = bucketToLits[b];
|
||||
u32 min_len = ~0U;
|
||||
for (const LiteralIndex &lit_idx : bucket_lits) {
|
||||
// cppcheck-suppress useStlAlgorithm
|
||||
min_len = min(min_len, verify_u32(lits[lit_idx].s.length()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user