Skip to content

Commit a8b5e14

Browse files
committed
[NFC] Remove An Unused Vector of Protocols
1 parent 09c24ef commit a8b5e14

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/AST/NameLookup.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,8 +2062,6 @@ QualifiedLookupRequest::evaluate(Evaluator &eval, const DeclContext *DC,
20622062
if (!wantProtocolMembers && !currentIsProtocol)
20632063
continue;
20642064

2065-
SmallVector<ProtocolDecl *, 4> protocols;
2066-
20672065
if (auto *protoDecl = dyn_cast<ProtocolDecl>(current)) {
20682066
// If we haven't seen a class declaration yet, look into the protocol.
20692067
if (!sawClassDecl) {

0 commit comments

Comments
 (0)