mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-01 22:25:42 +03:00
Merge pull request #279 from VectorCamp/bugfix/cppcheck-unreadVariable-others
Fix marked as done cppcheck warnings unreadVariable & others
This commit is contained in:
@@ -800,7 +800,7 @@ bytecode_ptr<NFA> sheng64Compile(raw_dfa &raw, const CompileContext &cc,
|
||||
old_states = info.states;
|
||||
auto nfa = shengCompile_int<sheng64>(raw, cc, accel_states, strat, info);
|
||||
if (!nfa) {
|
||||
info.states = old_states;
|
||||
info.states = old_states; // cppcheck-suppress unreadVariable
|
||||
}
|
||||
return nfa;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user