瀏覽代碼

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 */
         /* Get the number of buttons and axes on the joystick */
         ConfigJoystick(joystick, fd);
         ConfigJoystick(joystick, fd);
     }
     }
+    return 0;
 }
 }