mirror of
https://github.com/zeldaret/oot
synced 2026-06-16 06:45:49 -04:00
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
This commit is contained in:
+1
-2
@@ -182,8 +182,7 @@ LightNode* Lights_FindBufSlot(void) {
|
||||
return node;
|
||||
}
|
||||
|
||||
// return type must not be void to match
|
||||
s32 Lights_FreeNode(LightNode* light) {
|
||||
BAD_RETURN(s32) Lights_FreeNode(LightNode* light) {
|
||||
if (light != NULL) {
|
||||
sLightsBuffer.numOccupied--;
|
||||
light->info = NULL;
|
||||
|
||||
Reference in New Issue
Block a user