Unused functions: Fixed invalid pattern match
This commit is contained in:
parent
27eedcd0a3
commit
78f3c5f772
|
@ -68,7 +68,7 @@ void CheckUnusedFunctions::parseTokens(const Tokenizer &tokenizer)
|
|||
|
||||
// Check that ") {" is found..
|
||||
if (! Token::Match(tok, ") const| {") &&
|
||||
! Token::simpleMatch(tok, ") const| throw ( ) {"))
|
||||
! Token::Match(tok, ") const| throw ( ) {"))
|
||||
funcname = 0;
|
||||
|
||||
if (funcname) {
|
||||
|
|
Loading…
Reference in New Issue