astyle fix

This commit is contained in:
Reijo Tomperi 2010-02-14 21:46:40 +02:00
parent 9394816fcf
commit 7f2871d353
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ void CheckBufferOverrun::checkScope(const Token *tok, const std::vector<std::str
{
std::string varnames;
for (unsigned int i = 0; i < varname.size(); ++i)
varnames += (i==0?"":" . ") + varname[i];
varnames += (i == 0 ? "" : " . ") + varname[i];
unsigned int varc = varname.size();
if (varc == 0)

View File

@ -107,7 +107,7 @@ private:
{
public:
Var(const std::string &name_, bool init = false, bool priv = false, Var *next = 0)
: name(name_)
: name(name_)
{
this->init = init;
this->priv = priv;