diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2024-12-02 09:40:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-02 04:40:49 -0500 |
| commit | 3f703a39d91b0f90a273ca24fedfc7e6578ad363 (patch) | |
| tree | 43437f65da1a62794a87e29d28a9bf4df5e2c6b5 /src/libu64/stackcheck.c | |
| parent | 6199634ffb42872d053abb1502eb80474de4ae56 (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/libu64/stackcheck.c')
| -rw-r--r-- | src/libu64/stackcheck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libu64/stackcheck.c b/src/libu64/stackcheck.c index 596c0b411..a8b32ffce 100644 --- a/src/libu64/stackcheck.c +++ b/src/libu64/stackcheck.c @@ -111,7 +111,7 @@ u32 StackCheck_Check(StackEntry* entry) { return ret; } else { u32* last; - u32 used; + UNUSED_NDEBUG u32 used; u32 free; u32 ret; @@ -143,7 +143,7 @@ u32 StackCheck_Check(StackEntry* entry) { u32 StackCheck_GetState(StackEntry* entry) { u32* last; - u32 used; + UNUSED_NDEBUG u32 used; u32 free; u32 ret; |
