Merge pull request #676 from Dmitry-Me/reuseCachedValue
Reuse cached value
This commit is contained in:
commit
210d8d1957
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue