Commit cc19b13bc38c17f43b0990633f8aff2920300e2c

Sam Lantinga 2021-07-24T19:21:29

Fixed missing return statement

1
2
3
4
5
6
7
8
9
10
11
12
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;
 }