Use scoped blocks for case-specific variables

This commit is contained in:
Rangi42
2025-08-23 21:52:22 -04:00
parent 0d509aa65c
commit ead5337fe0
2 changed files with 5 additions and 4 deletions

View File

@@ -120,8 +120,8 @@ static void readFileStackNode(
);
break;
case NODE_REPT: {
uint32_t depth;
case NODE_REPT:
tryReadLong(
depth, file, "%s: Cannot read node #%" PRIu32 "'s REPT depth: %s", fileName, nodeID
);
@@ -144,6 +144,7 @@ static void readFileStackNode(
);
}
}
}
}
// Reads a symbol from a file.