refactoring : Removed unread variable 'staticfunc'
This commit is contained in:
parent
709e2a4277
commit
586b28b063
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue