Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Feb 9, 2024
1 parent 7c78c12 commit f1744bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/valueflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5234,8 +5234,6 @@ static void valueFlowAfterMove(TokenList& tokenlist, const SymbolDatabase& symbo
if (endOfFunctionCall) {
if (endOfFunctionCall->str() == ")") {
Token* ternaryColon = endOfFunctionCall->link()->astParent();
while (Token::simpleMatch(parent, "("))
ternaryColon = ternaryColon->astParent();
if (Token::simpleMatch(ternaryColon, ":")) {
endOfFunctionCall = ternaryColon->astOperand2();
if (Token::simpleMatch(endOfFunctionCall, "("))
Expand Down

0 comments on commit f1744bb

Please sign in to comment.