[Sema] Remove unused variable

This commit is contained in:
Hamish Knight
2022-07-22 14:56:03 +01:00
parent fe7c1f4b9b
commit aeec32b07e

View File

@@ -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,