mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
cppcheck-suppress derefInvalidIteratorRedundantCheck
This commit is contained in:
parent
be0a86e78f
commit
4c1b76ad27
@ -2223,6 +2223,10 @@ void mergeCluster(RoseGraph &g, const ReportManager &rm,
|
||||
for (it2 = it;
|
||||
it2 != vcluster.end() && cluster.size() < MERGE_GROUP_SIZE_MAX;
|
||||
++it2) {
|
||||
if (it2 == vcluster.end()) {
|
||||
break;
|
||||
}
|
||||
// cppcheck-suppress derefInvalidIteratorRedundantCheck
|
||||
RoseVertex v = *it2;
|
||||
NGHolder *h = g[v].suffix.graph.get();
|
||||
assert(!g[v].suffix.haig); /* should not be here if haig */
|
||||
|
Loading…
x
Reference in New Issue
Block a user