mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-21 03:16:40 +03:00
Merge pull request #263 from gtsoul-tech/bug/cppcheck-61
Cppcheck knownConditionTrueFalse error
This commit is contained in:
@@ -1294,12 +1294,7 @@ bool attemptRoseGraphMerge(RoseBuildImpl &build, bool preds_same, RoseVertex a,
|
||||
|
||||
DEBUG_PRINTF("victim %zu states\n", num_vertices(*a_h));
|
||||
DEBUG_PRINTF("winner %zu states\n", num_vertices(*b_h));
|
||||
|
||||
if (!setDistinctRoseTops(g, victim, *b_h, deque<RoseVertex>(1, a))) {
|
||||
assert(roseHasTops(build, a));
|
||||
assert(roseHasTops(build, b));
|
||||
return false;
|
||||
}
|
||||
setDistinctRoseTops(g, victim, *b_h, deque<RoseVertex>(1, a));
|
||||
|
||||
assert(victim.kind == b_h->kind);
|
||||
assert(!generates_callbacks(*b_h));
|
||||
|
||||
Reference in New Issue
Block a user