astyle fix

This commit is contained in:
Reijo Tomperi 2009-12-03 22:48:52 +02:00
parent 48bb1fdc83
commit 2b980f9abe
1 changed files with 2 additions and 1 deletions

View File

@ -1800,7 +1800,8 @@ const Token *CheckMemoryLeakInFunction::findleak(const Token *tokens, bool all)
Token *tok2 = last->previous(); Token *tok2 = last->previous();
if (tok2) if (tok2)
{ {
if (Token::simpleMatch(tok2, ";")) { if (Token::simpleMatch(tok2, ";"))
{
const Token *tok3 = tok2->previous(); const Token *tok3 = tok2->previous();
if (tok3 && Token::simpleMatch(tok3, "exit")) if (tok3 && Token::simpleMatch(tok3, "exit"))
{ {