Sfoglia il codice sorgente

Fixed missing return statement

Sam Lantinga 5 anni fa
parent
commit
cc19b13bc3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;
 }
 }