mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use scoped blocks for case-specific variables
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user