src/checkstl.cpp(iterators): reduce indentation.
No functional change.
This commit is contained in:
parent
f50aa1e188
commit
524b0cd9b8
|
@ -47,8 +47,9 @@ void CheckStl::iterators()
|
|||
{
|
||||
for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next())
|
||||
{
|
||||
if (Token::Match(tok, "%var% = %var% . begin ( ) ;|+"))
|
||||
{
|
||||
if (!Token::Match(tok, "%var% = %var% . begin ( ) ;|+"))
|
||||
continue;
|
||||
|
||||
const unsigned int iteratorId(tok->varId());
|
||||
const unsigned int containerId(tok->tokAt(2)->varId());
|
||||
if (iteratorId == 0 || containerId == 0)
|
||||
|
@ -77,7 +78,6 @@ void CheckStl::iterators()
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue