From cc19b13bc38c17f43b0990633f8aff2920300e2c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 24 Jul 2021 19:21:29 -0700 Subject: [PATCH] Fixed missing return statement --- src/joystick/linux/SDL_sysjoystick.c | 1 + 1 file changed, 1 insertion(+) 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; }