mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 17:55:17 -05:00
SDL_sysjoystick.c:983: warning: 'return' with a value, in function returning void
This commit is contained in:
@@ -980,7 +980,8 @@ static __inline__ void JS_HandleEvents(SDL_Joystick *joystick)
|
||||
#ifndef NO_LOGICAL_JOYSTICKS
|
||||
if (SDL_joylist[joystick->index].fname == NULL) {
|
||||
SDL_joylist_head(i, joystick->index);
|
||||
return JS_HandleEvents(SDL_joylist[i].joy);
|
||||
JS_HandleEvents(SDL_joylist[i].joy);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user