mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Prevent uninitialied variable
This commit is contained in:
parent
2b543cdaf0
commit
7e5ee4f86c
@ -268,7 +268,7 @@ static int16_t cocoa_input_state(void *data,
|
||||
const struct retro_keybind **binds, unsigned port,
|
||||
unsigned device, unsigned idx, unsigned id)
|
||||
{
|
||||
int16_t ret;
|
||||
int16_t ret = 0;
|
||||
cocoa_input_data_t *apple = (cocoa_input_data_t*)data;
|
||||
|
||||
if (!apple || !apple->joypad)
|
||||
|
Loading…
x
Reference in New Issue
Block a user