diff options
| author | Tharo <tharo10600@gmail.com> | 2026-09-24 05:29:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-24 06:29:19 +0200 |
| commit | 1bef952ff61a6dd1945c7887c1babd94efe95f72 (patch) | |
| tree | 7436c39fce905685f6d2115d487be3303ceda09c /src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c | |
| parent | 39070bb9dd5bba8b60363b81ef0b36f4590e68f4 (diff) | |
* UNUSED attribute for variables and parameters in static segments and for all stack padding variables
* No more unused variable warnings
* Make pad variable names consistent
* Small cleanup
* Macro-ify stack padding
* Use stack padding for more variables not previously named pad
* Format
* Check unused parameter on gamestate overlays and pause menu
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
* Merge 2x u8 stack pads into 1x s16 stack pad in en_ik
* Remove UNUSED from function prototypes
* Suggested changes
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
* More unused variables
* Fix merge, updated for new versions
* Format
* questionable UNUSED and STACK_PAD more usage
* format
* format
* one more STACK_PADS in z_kaleido_map.c
---------
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
Diffstat (limited to 'src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c')
| -rw-r--r-- | src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c b/src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c index 2ba3fd113..269bc5815 100644 --- a/src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c +++ b/src/overlays/misc/ovl_kaleido_scope/z_kaleido_debug.c @@ -6,6 +6,7 @@ #include "gfx_setupdl.h" #include "gfxalloc.h" #include "printf.h" +#include "stack_pad.h" #include "translation.h" #include "play_state.h" #include "save.h" @@ -176,7 +177,7 @@ static s16 sSlotItems[] = { void KaleidoScope_DrawInventoryEditorText(Gfx** gfxP) { GfxPrint printer; - s32 pad[2]; + STACK_PADS(s32, 2); GfxPrint_Init(&printer); GfxPrint_Open(&printer, *gfxP); |
