mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Gardening] Fix some set but not used variables
This commit is contained in:
@@ -835,10 +835,10 @@ addDistributedActorCodableConformance(
|
||||
void swift::assertRequiredSynthesizedPropertyOrder(ASTContext &Context,
|
||||
NominalTypeDecl *nominal) {
|
||||
#ifndef NDEBUG
|
||||
if (auto id = nominal->getDistributedActorIDProperty()) {
|
||||
if (auto system = nominal->getDistributedActorSystemProperty()) {
|
||||
if (nominal->getDistributedActorIDProperty()) {
|
||||
if (nominal->getDistributedActorSystemProperty()) {
|
||||
if (auto classDecl = dyn_cast<ClassDecl>(nominal)) {
|
||||
if (auto unownedExecutor = classDecl->getUnownedExecutorProperty()) {
|
||||
if (classDecl->getUnownedExecutorProperty()) {
|
||||
int idIdx, actorSystemIdx, unownedExecutorIdx = 0;
|
||||
int idx = 0;
|
||||
for (auto member : nominal->getMembers()) {
|
||||
|
||||
Reference in New Issue
Block a user