From 3f703a39d91b0f90a273ca24fedfc7e6578ad363 Mon Sep 17 00:00:00 2001 From: Tharo <17233964+Thar0@users.noreply.github.com> Date: Mon, 2 Dec 2024 09:40:49 +0000 Subject: 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 --- src/code/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/code/game.c') diff --git a/src/code/game.c b/src/code/game.c index 8aad6bf00..bf7a4ce7c 100644 --- a/src/code/game.c +++ b/src/code/game.c @@ -452,8 +452,8 @@ void GameState_Realloc(GameState* gameState, size_t size) { } void GameState_Init(GameState* gameState, GameStateFunc init, GraphicsContext* gfxCtx) { - OSTime startTime; - OSTime endTime; + UNUSED_NDEBUG OSTime startTime; + UNUSED_NDEBUG OSTime endTime; PRINTF(T("game コンストラクタ開始\n", "game constructor start\n")); gameState->gfxCtx = gfxCtx; -- cgit v1.2.3