CheckFunctions::checkIgnoredReturnValue: Fixed unwanted DacaWrongData messages
This commit is contained in:
parent
772b44d11a
commit
3f2d9c03b2
|
@ -204,7 +204,7 @@ void CheckFunctions::checkIgnoredReturnValue()
|
|||
else if (Token::Match(tok, "[(<]") && tok->link())
|
||||
tok = tok->link();
|
||||
|
||||
if (tok->varId() || !Token::Match(tok, "%name% ("))
|
||||
if (tok->varId() || !Token::Match(tok, "%name% (") || tok->isKeyword())
|
||||
continue;
|
||||
|
||||
if (tok->next()->astParent())
|
||||
|
|
Loading…
Reference in New Issue