Tokenizer::simplifyConditionOperator(): change return type to void.

No functional change.
This commit is contained in:
Slava Semushin 2009-08-30 02:30:13 +07:00
parent 33ee1b8d98
commit 19e327607f
2 changed files with 2 additions and 6 deletions

View File

@ -1915,9 +1915,8 @@ void Tokenizer::simplifyDoWhileAddBraces()
}
}
bool Tokenizer::simplifyConditionOperator()
void Tokenizer::simplifyConditionOperator()
{
bool ret = false;
int parlevel = 0;
for (Token *tok = _tokens; tok; tok = tok->next())
{
@ -1955,7 +1954,6 @@ bool Tokenizer::simplifyConditionOperator()
Token::createMutualLinks(tok->tokAt(-10), tok->tokAt(-8));
}
}
return ret;
}
bool Tokenizer::simplifyConditions()

View File

@ -214,10 +214,8 @@ private:
/**
* Simplify the operator "?:"
* @return true if something is modified
* false if nothing is done.
*/
bool simplifyConditionOperator();
void simplifyConditionOperator();
/** Simplify conditions
* @return true if something is modified