refactoring : Removed unread variable 'staticfunc'

This commit is contained in:
Daniel Marjamäki 2008-12-25 20:09:32 +00:00
parent 709e2a4277
commit 586b28b063
1 changed files with 1 additions and 5 deletions

View File

@ -1498,7 +1498,6 @@ void Tokenizer::fillFunctionList()
{ {
_functionList.clear(); _functionList.clear();
bool staticfunc = false;
bool classfunc = false; bool classfunc = false;
int indentlevel = 0; int indentlevel = 0;
@ -1516,10 +1515,7 @@ void Tokenizer::fillFunctionList()
} }
if (strchr("};", tok->aaaa0())) if (strchr("};", tok->aaaa0()))
staticfunc = classfunc = false; classfunc = false;
else if ( tok->str() == "static" )
staticfunc = true;
else if ( tok->str() == "::" ) else if ( tok->str() == "::" )
classfunc = true; classfunc = true;