mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Sema] Remove unused variable
This commit is contained in:
@@ -465,7 +465,6 @@ Expr *TypeChecker::resolveDeclRefExpr(UnresolvedDeclRefExpr *UDRE,
|
||||
|
||||
// First, look for a local binding in scope.
|
||||
if (Loc.isValid() && !Name.isOperator()) {
|
||||
SmallVector<ValueDecl *, 2> localDecls;
|
||||
ASTScope::lookupLocalDecls(DC->getParentSourceFile(),
|
||||
LookupName.getFullName(), Loc,
|
||||
/*stopAfterInnermostBraceStmt=*/false,
|
||||
|
||||
Reference in New Issue
Block a user