Mercurial > sdl-ios-xcode
diff src/joystick/linux/SDL_sysjoystick.c @ 1752:97f20f2a1d85
SDL_sysjoystick.c:983: warning: 'return' with a value, in function returning void
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:40:00 +0000 |
parents | 92947e3a18db |
children | 2f381b48b05c |
line wrap: on
line diff
--- a/src/joystick/linux/SDL_sysjoystick.c Sun Apr 30 21:01:25 2006 +0000 +++ b/src/joystick/linux/SDL_sysjoystick.c Mon May 01 06:40:00 2006 +0000 @@ -980,7 +980,8 @@ #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