فهرست منبع

Fixed missing return statement

Sam Lantinga 4 سال پیش
والد
کامیت
cc19b13bc3
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/joystick/linux/SDL_sysjoystick.c

+ 1 - 0
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;
 }