Skip to content

Commit

Permalink
removed duplicated block in followAllReferences()
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Nov 8, 2023
1 parent 23620c8 commit 56d0a0f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/astutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1252,10 +1252,6 @@ SmallVector<ReferenceToken> followAllReferences(const Token* tok,
}
if (vartok)
return followAllReferences(vartok, temporary, inconclusive, std::move(errors), depth - 1);
} else {
SmallVector<ReferenceToken> refs_result;
refs_result.push_back({tok, std::move(errors)});
return refs_result;
}
}
} else if (Token::simpleMatch(tok, "?") && Token::simpleMatch(tok->astOperand2(), ":")) {
Expand Down

0 comments on commit 56d0a0f

Please sign in to comment.