Skip to content

Commit 53193f1

Browse files
committed
Sema: Fix compiler warning
1 parent 2f4ed5a commit 53193f1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Sema/CodeSynthesisDistributedActor.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -878,9 +878,6 @@ static bool canSynthesizeDistributedThunk(AbstractFunctionDecl *distributedTarge
878878
return true;
879879
}
880880

881-
auto &C = distributedTarget->getASTContext();
882-
ProtocolDecl *DistributedActor = C.getDistributedActorDecl();
883-
884881
SmallPtrSet<ProtocolDecl *, 2> requirementProtos;
885882
if (getSerializationRequirementTypesForMember(distributedTarget,
886883
requirementProtos)) {

0 commit comments

Comments
 (0)