Removed unused variable

This commit is contained in:
PKEuS 2015-03-15 10:19:35 +01:00
parent 0d127f15a5
commit e978a681a3
1 changed files with 0 additions and 3 deletions

View File

@ -986,7 +986,6 @@ void Tokenizer::simplifyTypedef()
while (!done) { while (!done) {
std::string pattern = typeName->str(); std::string pattern = typeName->str();
int scope = 0; int scope = 0;
int exitScope = 0;
bool simplifyType = false; bool simplifyType = false;
bool inMemberFunc = false; bool inMemberFunc = false;
int memberScope = 0; int memberScope = 0;
@ -1139,8 +1138,6 @@ void Tokenizer::simplifyTypedef()
} else if (Token::Match(tok2->previous(), "case %type% :")) { } else if (Token::Match(tok2->previous(), "case %type% :")) {
tok2 = tok2->next(); tok2 = tok2->next();
} else if (duplicateTypedef(&tok2, typeName, typeDef, structs)) { } else if (duplicateTypedef(&tok2, typeName, typeDef, structs)) {
exitScope = scope;
// skip to end of scope if not already there // skip to end of scope if not already there
if (tok2->str() != "}") { if (tok2->str() != "}") {
while (tok2->next()) { while (tok2->next()) {