Skip to content

Commit b99474f

Browse files
committed
Tokenizer: Remove redundant setVarId call
1 parent 847391e commit b99474f

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

lib/tokenize.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5109,14 +5109,6 @@ bool Tokenizer::simplifyTokenList1(const char FileName[])
51095109
// Link < with >
51105110
createLinks2();
51115111

5112-
if (mTimerResults) {
5113-
Timer t("Tokenizer::tokenize::setVarId (2)", mSettings->showtime, mTimerResults);
5114-
setVarId();
5115-
}
5116-
else {
5117-
setVarId();
5118-
}
5119-
51205112
// Mark C++ casts
51215113
for (Token *tok = list.front(); tok; tok = tok->next()) {
51225114
if (Token::Match(tok, "const_cast|dynamic_cast|reinterpret_cast|static_cast <") && Token::simpleMatch(tok->linkAt(1), "> (")) {

0 commit comments

Comments
 (0)