Skip to content

Commit

Permalink
Lua API: Explicitly zero local array (#2740)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshiRulz authored Jan 25, 2025
1 parent d348ab1 commit da8e5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/luaapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ static s32 lua_ttri(lua_State* lua)
}
}

float z[3];
float z[3] = {0, 0, 0};
bool depth = false;

if(top == 17)
Expand Down

0 comments on commit da8e5b9

Please sign in to comment.