Skip to content

Commit 83df189

Browse files
committed
SIL: remove unused variable (NFC)
Silence a `-Wunused-variable` warning.
1 parent ce756e3 commit 83df189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SIL/SILProfiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static bool canCreateProfilerForAST(ASTNode N, SILDeclRef forDecl) {
133133

134134
if (isa<TopLevelCodeDecl>(D))
135135
return true;
136-
} else if (auto *E = N.get<Expr *>()) {
136+
} else if (N.get<Expr *>()) {
137137
if (forDecl.isStoredPropertyInitializer() ||
138138
forDecl.isPropertyWrapperBackingInitializer() ||
139139
forDecl.getAbstractClosureExpr())

0 commit comments

Comments
 (0)