Fixed missing return statement
diff --git a/src/joystick/linux/SDL_sysjoystick.c b/src/joystick/linux/SDL_sysjoystick.c
index 3e267e3..c7de6e5 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;
}