# HG changeset patch # User Sam Lantinga # Date 1146465600 0 # Node ID 97f20f2a1d85750272520864c55cf56f249db160 # Parent a11c13151840a8c6885355156d08884b23cd77fe SDL_sysjoystick.c:983: warning: 'return' with a value, in function returning void diff -r a11c13151840 -r 97f20f2a1d85 src/joystick/linux/SDL_sysjoystick.c --- 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