File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ using namespace Lowering;
4343// / or the subsequent cast to VarDecl failed.
4444static VarDecl* lookupProperty (NominalTypeDecl *decl, DeclName name) {
4545 assert (decl && " decl was null" );
46- auto &C = decl->getASTContext ();
47-
4846 if (auto clazz = dyn_cast<ClassDecl>(decl)) {
4947 auto refs = decl->lookupDirect (name);
5048 if (refs.size () != 1 )
Original file line number Diff line number Diff line change @@ -564,7 +564,6 @@ addDistributedActorCodableConformance(
564564 assert (proto->isSpecificProtocol (swift::KnownProtocolKind::Decodable) ||
565565 proto->isSpecificProtocol (swift::KnownProtocolKind::Encodable));
566566 auto &C = actor->getASTContext ();
567- auto DC = actor->getDeclContext ();
568567 auto module = actor->getParentModule ();
569568
570569 // === Only Distributed actors can gain this implicit conformance
You can’t perform that action at this time.
0 commit comments