Skip to content

Commit aeec32b

Browse files
committed
[Sema] Remove unused variable
1 parent fe7c1f4 commit aeec32b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/PreCheckExpr.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ Expr *TypeChecker::resolveDeclRefExpr(UnresolvedDeclRefExpr *UDRE,
465465

466466
// First, look for a local binding in scope.
467467
if (Loc.isValid() && !Name.isOperator()) {
468-
SmallVector<ValueDecl *, 2> localDecls;
469468
ASTScope::lookupLocalDecls(DC->getParentSourceFile(),
470469
LookupName.getFullName(), Loc,
471470
/*stopAfterInnermostBraceStmt=*/false,

0 commit comments

Comments
 (0)