summaryrefslogtreecommitdiff
path: root/src/code/z_play.c
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2024-12-02 09:40:49 +0000
committerGitHub <noreply@github.com>2024-12-02 04:40:49 -0500
commit3f703a39d91b0f90a273ca24fedfc7e6578ad363 (patch)
tree43437f65da1a62794a87e29d28a9bf4df5e2c6b5 /src/code/z_play.c
parent6199634ffb42872d053abb1502eb80474de4ae56 (diff)
Fix some more GCC warnings, mark some bugs based on GCC warnings (#2309)
* Fix some more GCC warnings, mark some bugs based on GCC warnings * Weird formatting * Suggested changes * More weird indentation I guess * UNREACHABLE() macro, add missing NORETURNs to fault_n64.c * AVOID_UB for PAL path in z_file_nameset.c * Remove comments about return types * Remove temp no longer needed
Diffstat (limited to 'src/code/z_play.c')
-rw-r--r--src/code/z_play.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/z_play.c b/src/code/z_play.c
index 84c80119a..dc37ab27a 100644
--- a/src/code/z_play.c
+++ b/src/code/z_play.c
@@ -1068,6 +1068,7 @@ void Play_Update(PlayState* this) {
skip:
PLAY_LOG(3801);
+ //! @bug If frame advancing or during tile transitions, isPaused will be used uninitialized.
if (!isPaused || gDebugCamEnabled) {
s32 i;
@@ -1545,7 +1546,7 @@ void Play_InitScene(PlayState* this, s32 spawn) {
void Play_SpawnScene(PlayState* this, s32 sceneId, s32 spawn) {
SceneTableEntry* scene;
- u32 size;
+ UNUSED_NDEBUG u32 size;
#if PLATFORM_N64
if ((B_80121220 != NULL) && (B_80121220->unk_48 != NULL)) {