Skip to content

Commit 73a4900

Browse files
Update checkcondition.cpp
1 parent 48b66db commit 73a4900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/checkcondition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ static std::string getConditionString(const Token* condition)
16531653
{
16541654
if (Token::simpleMatch(condition, "return"))
16551655
return "Return value";
1656-
if (Token::simpleMatch(condition, "(") && Token::Match(condition->astParent(), "%assign"))
1656+
if (Token::simpleMatch(condition, "(") && Token::Match(condition->astParent(), "%assign%"))
16571657
return "Assigned value";
16581658
return "Condition";
16591659
}

0 commit comments

Comments
 (0)