Fix possible bug caused by previous commit.

This commit is contained in:
Reijo Tomperi 2009-05-03 14:17:31 +03:00
parent b29673f4a2
commit e825de1450
1 changed files with 2 additions and 2 deletions

View File

@ -738,7 +738,7 @@ void Tokenizer::setVarId()
{
const std::string &classname(tok->next()->str());
unsigned int indentlevel = 0;
int indentlevel = 0;
// What member variables are there in this class?
for (const Token *tok2 = tok; tok2; tok2 = tok2->next())
@ -765,7 +765,7 @@ void Tokenizer::setVarId()
// Found a class function..
if (Token::Match(tok3, (classname + " :: %var% (").c_str()))
{
unsigned int indentlevel2 = 0;
int indentlevel2 = 0;
while (tok3)
{
if (tok3->str() == "{")