From 586b28b063ceb06896761b4a049dd3344a80f872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 25 Dec 2008 20:09:32 +0000 Subject: [PATCH] refactoring : Removed unread variable 'staticfunc' --- tokenize.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tokenize.cpp b/tokenize.cpp index 78950de6e..26a82eb3a 100644 --- a/tokenize.cpp +++ b/tokenize.cpp @@ -1498,7 +1498,6 @@ void Tokenizer::fillFunctionList() { _functionList.clear(); - bool staticfunc = false; bool classfunc = false; int indentlevel = 0; @@ -1516,10 +1515,7 @@ void Tokenizer::fillFunctionList() } if (strchr("};", tok->aaaa0())) - staticfunc = classfunc = false; - - else if ( tok->str() == "static" ) - staticfunc = true; + classfunc = false; else if ( tok->str() == "::" ) classfunc = true;