TestSymbolDatabase: Remove unused variable

This commit is contained in:
Daniel Marjamäki 2018-06-24 17:13:27 +02:00
parent ea6a9c965d
commit 33493883b2
1 changed files with 1 additions and 4 deletions

View File

@ -51,22 +51,19 @@ public:
:TestFixture("TestSymbolDatabase") :TestFixture("TestSymbolDatabase")
,nullScope(nullptr, nullptr, nullptr) ,nullScope(nullptr, nullptr, nullptr)
,vartok(nullptr) ,vartok(nullptr)
,typetok(nullptr) ,typetok(nullptr) {
,found(false) {
} }
private: private:
const Scope nullScope; const Scope nullScope;
const Token* vartok; const Token* vartok;
const Token* typetok; const Token* typetok;
bool found;
Settings settings1; Settings settings1;
Settings settings2; Settings settings2;
void reset() { void reset() {
vartok = nullptr; vartok = nullptr;
typetok = nullptr; typetok = nullptr;
found = false;
} }
const static SymbolDatabase* getSymbolDB_inner(Tokenizer& tokenizer, const char* code, const char* filename) { const static SymbolDatabase* getSymbolDB_inner(Tokenizer& tokenizer, const char* code, const char* filename) {