Reuse cached value

This commit is contained in:
Dmitry-Me 2015-09-09 15:29:06 +03:00
parent 47f64df8aa
commit fdfddde496
1 changed files with 1 additions and 1 deletions

View File

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