fixed gcc warning about missing braces
This commit is contained in:
parent
687c3a4654
commit
cc6d138209
|
@ -871,8 +871,8 @@ void CheckStl::if_find()
|
|||
|
||||
else if (decl && decl->str() == "string") {
|
||||
decl = decl->next();
|
||||
if (Token::Match(decl, "* &| %varid%", varid) ||
|
||||
Token::Match(decl, "&| %varid% [ ]| %any% ]| ", varid) && performance)
|
||||
if ((Token::Match(decl, "* &| %varid%", varid) ||
|
||||
Token::Match(decl, "&| %varid% [ ]| %any% ]| ", varid)) && performance)
|
||||
if_findError(tok, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue