fixed gcc warning about missing braces

This commit is contained in:
Ettl Martin 2013-03-04 14:30:01 +01:00
parent 687c3a4654
commit cc6d138209
1 changed files with 2 additions and 2 deletions

View File

@ -871,8 +871,8 @@ void CheckStl::if_find()
else if (decl && decl->str() == "string") { else if (decl && decl->str() == "string") {
decl = decl->next(); decl = decl->next();
if (Token::Match(decl, "* &| %varid%", varid) || if ((Token::Match(decl, "* &| %varid%", varid) ||
Token::Match(decl, "&| %varid% [ ]| %any% ]| ", varid) && performance) Token::Match(decl, "&| %varid% [ ]| %any% ]| ", varid)) && performance)
if_findError(tok, true); if_findError(tok, true);
} }
} }