diff --git a/src/joystick/linux/SDL_sysjoystick.c b/src/joystick/linux/SDL_sysjoystick.c index 3e267e38f..c7de6e5f3 100644 --- a/src/joystick/linux/SDL_sysjoystick.c +++ b/src/joystick/linux/SDL_sysjoystick.c @@ -1003,6 +1003,7 @@ PrepareJoystickHwdata(SDL_Joystick *joystick, SDL_joylist_item *item) /* Get the number of buttons and axes on the joystick */ ConfigJoystick(joystick, fd); } + return 0; }