Skip to content

Commit 0d6abf3

Browse files
authored
Merge pull request #58628 from xedin/dist-silgen-warnings
[Distributed/SILGen] NFC: Remove a couple of unused variables
2 parents a0737a7 + 33f6c56 commit 0d6abf3

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)