summaryrefslogtreecommitdiff
path: root/src/code/ucode_disas.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/ucode_disas.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/ucode_disas.c')
-rw-r--r--src/code/ucode_disas.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/code/ucode_disas.c b/src/code/ucode_disas.c
index e2e782e71..ecfc7d7ac 100644
--- a/src/code/ucode_disas.c
+++ b/src/code/ucode_disas.c
@@ -1,6 +1,8 @@
#include "global.h"
#include "ucode_disas.h"
+#if DEBUG_FEATURES
+
typedef struct F3dzexConst {
/* 0x00 */ u32 value;
/* 0x04 */ const char* name;
@@ -1244,3 +1246,5 @@ void UCodeDisas_RegisterUCode(UCodeDisas* this, s32 count, UCodeInfo* ucodeArray
void UCodeDisas_SetCurUCode(UCodeDisas* this, void* ptr) {
UCodeDisas_SetCurUCodeImpl(this, ptr);
}
+
+#endif