Explorar o código

Fixed missing return statement

Sam Lantinga %!s(int64=5) %!d(string=hai) anos
pai
achega
cc19b13bc3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 }
 }