Skip to content

Commit 33f6c56

Browse files
committed
[Distributed/SILGen] NFC: Remove a couple of unused variables
1 parent 9700020 commit 33f6c56

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/SILGen/SILGenDistributed.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ static void emitActorSystemInit(SILGenFunction &SGF,
161161

162162
auto *dc = ctor->getDeclContext();
163163
auto classDecl = dc->getSelfClassDecl();
164-
auto &C = ctor->getASTContext();
165164

166165
// By construction, automatically generated distributed actor ctors have
167166
// exactly one ActorSystem-conforming argument to the constructor,
@@ -301,7 +300,6 @@ void SILGenFunction::emitDistributedActorReady(
301300
// Only designated initializers get the lifecycle handling injected
302301
assert(ctor->isDesignatedInit());
303302

304-
auto &C = ctor->getASTContext();
305303
auto *dc = ctor->getDeclContext();
306304
auto classDecl = dc->getSelfClassDecl();
307305

0 commit comments

Comments
 (0)