Merge pull request #676 from Dmitry-Me/reuseCachedValue

Reuse cached value
This commit is contained in:
amai2012 2015-09-11 15:58:45 +07:00
commit 210d8d1957
1 changed files with 1 additions and 1 deletions

View File

@ -5886,7 +5886,7 @@ void Tokenizer::simplifyVariableMultipleAssign()
} }
Token *stopAt = tok->tokAt(2); Token *stopAt = tok->tokAt(2);
const Token *valueTok = tok->tokAt(4); const Token *valueTok = stopAt->tokAt(2);
const std::string& value(valueTok->str()); const std::string& value(valueTok->str());
tok2 = tok2->next(); tok2 = tok2->next();