Skip to content

Commit 57029cb

Browse files
Update valueflow.cpp
1 parent 5e769b3 commit 57029cb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/valueflow.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,6 +3282,8 @@ static void valueFlowAfterMove(const TokenList& tokenlist, const SymbolDatabase&
32823282
}
32833283
parent = parent->astParent();
32843284
}
3285+
if (bail)
3286+
continue;
32853287
if (parent &&
32863288
(parent->str() == "return" || // MOVED in return statement
32873289
parent->str() == "(")) // MOVED in self assignment, isOpenParenthesisMemberFunctionCallOfVarId == true

0 commit comments

Comments
 (0)