Skip to content

Commit 1c73565

Browse files
authored
Merge pull request #28081 from compnerd/profile-nothing
SIL: remove unused variable (NFC)
2 parents 34ad0eb + 83df189 commit 1c73565

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)