Astyle fix

This commit is contained in:
Reijo Tomperi 2009-05-01 13:08:19 +03:00
parent 241ad528a9
commit 67832d89f7
1 changed files with 3 additions and 3 deletions

View File

@ -827,7 +827,7 @@ bool Tokenizer::createLinks()
} }
} }
if (links.size() > 0 || links2.size() > 0 ) if (links.size() > 0 || links2.size() > 0)
{ {
// Error, { and } don't match. // Error, { and } don't match.
return false; return false;
@ -1957,7 +1957,7 @@ bool Tokenizer::simplifyIfNot()
ret = true; ret = true;
} }
if (Token::Match(tok, "%var% == 0") ) if (Token::Match(tok, "%var% == 0"))
{ {
tok->deleteNext(); tok->deleteNext();
tok->next()->str(tok->str().c_str()); tok->next()->str(tok->str().c_str());
@ -1965,7 +1965,7 @@ bool Tokenizer::simplifyIfNot()
ret = true; ret = true;
} }
if ( tok->link() && Token::Match(tok, ") == 0") ) if (tok->link() && Token::Match(tok, ") == 0"))
{ {
tok->deleteNext(); tok->deleteNext();
tok->deleteNext(); tok->deleteNext();