mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 17:31:51 +03:00
Fix unreadVariable warning
This commit is contained in:
@@ -854,9 +854,7 @@ void replaceSubgraphWithLazySpecial(NGHolder &g, ReachSubgraph &rsi,
|
||||
assert(rsi.repeatMax >= rsi.repeatMin);
|
||||
|
||||
DEBUG_PRINTF("entry\n");
|
||||
|
||||
const unordered_set<NFAVertex> involved(rsi.vertices.begin(),
|
||||
rsi.vertices.end());
|
||||
|
||||
vector<NFAVertex> g_succs;
|
||||
getSuccessors(g, rsi, &g_succs);
|
||||
|
||||
|
||||
@@ -3125,7 +3125,7 @@ sombe_rv doSomWithHaig(NG &ng, NGHolder &g, const ExpressionInfo &expr,
|
||||
|
||||
// try a redundancy pass.
|
||||
if (addSomRedundancy(g, depths)) {
|
||||
depths = getDistancesFromSOM(g);
|
||||
depths = getDistancesFromSOM(g); // cppcheck-suppress unreadVariable
|
||||
}
|
||||
|
||||
auto regions = assignRegions(g);
|
||||
|
||||
Reference in New Issue
Block a user