[Gardening] Fix some set but not used variables

This commit is contained in:
Anthony Latsis
2025-01-19 23:11:51 +00:00
parent 71015c674b
commit a84dfc8387
89 changed files with 169 additions and 181 deletions

View File

@@ -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()) {