Tokenizer: Remove redundant setVarId call
This commit is contained in:
parent
847391ea2d
commit
b99474fe13
|
@ -5109,14 +5109,6 @@ bool Tokenizer::simplifyTokenList1(const char FileName[])
|
||||||
// Link < with >
|
// Link < with >
|
||||||
createLinks2();
|
createLinks2();
|
||||||
|
|
||||||
if (mTimerResults) {
|
|
||||||
Timer t("Tokenizer::tokenize::setVarId (2)", mSettings->showtime, mTimerResults);
|
|
||||||
setVarId();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
setVarId();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Mark C++ casts
|
// Mark C++ casts
|
||||||
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
for (Token *tok = list.front(); tok; tok = tok->next()) {
|
||||||
if (Token::Match(tok, "const_cast|dynamic_cast|reinterpret_cast|static_cast <") && Token::simpleMatch(tok->linkAt(1), "> (")) {
|
if (Token::Match(tok, "const_cast|dynamic_cast|reinterpret_cast|static_cast <") && Token::simpleMatch(tok->linkAt(1), "> (")) {
|
||||||
|
|
Loading…
Reference in New Issue