We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec77e31 commit f3531f1Copy full SHA for f3531f1
1 file changed
lib/checkcondition.cpp
@@ -1524,11 +1524,6 @@ void CheckCondition::alwaysTrueFalse()
1524
}
1525
if (!tok->hasKnownIntValue())
1526
continue;
1527
- if (Token::Match(tok->previous(), "%name% (") && tok->previous()->function()) {
1528
- const Function* f = tok->previous()->function();
1529
- if (f->functionScope && Token::Match(f->functionScope->bodyStart, "{ return true|false ;"))
1530
- continue;
1531
- }
1532
const Token* condition = nullptr;
1533
{
1534
// is this a condition..
0 commit comments