Skip to content

Commit 6c4dd2b

Browse files
committed
[NFC] Eliminate unused variable warning
1 parent 0bd6825 commit 6c4dd2b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/SILGen/SILGenStmt.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,6 @@ bool SILGenFunction::emitBorrowOrMutateAccessorResult(
869869
void SILGenFunction::emitReturnExpr(SILLocation branchLoc,
870870
Expr *ret) {
871871
SmallVector<SILValue, 4> directResults;
872-
auto *accessor = dyn_cast_or_null<AccessorDecl>(FunctionDC->getAsDecl());
873872
auto retTy = ret->getType()->getCanonicalType();
874873

875874
AbstractionPattern origRetTy = TypeContext

0 commit comments

Comments
 (0)