mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(input_common.c) Fix potential uninitialized variable in input_push_analog_dpad
This commit is contained in:
parent
2dfc1883f0
commit
94ca700059
@ -425,7 +425,7 @@ void input_get_bind_string(char *buf, const struct retro_keybind *bind,
|
||||
**/
|
||||
void input_push_analog_dpad(struct retro_keybind *binds, unsigned mode)
|
||||
{
|
||||
unsigned i, j;
|
||||
unsigned i, j = 0;
|
||||
bool inherit_joyaxis = false;
|
||||
|
||||
for (i = RETRO_DEVICE_ID_JOYPAD_UP; i <= RETRO_DEVICE_ID_JOYPAD_RIGHT; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user