SDL_sysjoystick.c:983: warning: 'return' with a value, in function returning void
authorSam Lantinga <slouken@libsdl.org>
Mon, 01 May 2006 06:40:00 +0000
changeset 175297f20f2a1d85
parent 1751 a11c13151840
child 1753 5b3bb08e7dd8
SDL_sysjoystick.c:983: warning: 'return' with a value, in function returning void
src/joystick/linux/SDL_sysjoystick.c
     1.1 --- a/src/joystick/linux/SDL_sysjoystick.c	Sun Apr 30 21:01:25 2006 +0000
     1.2 +++ b/src/joystick/linux/SDL_sysjoystick.c	Mon May 01 06:40:00 2006 +0000
     1.3 @@ -980,7 +980,8 @@
     1.4  #ifndef NO_LOGICAL_JOYSTICKS
     1.5  	if (SDL_joylist[joystick->index].fname == NULL) {
     1.6  		SDL_joylist_head(i, joystick->index);
     1.7 -		return JS_HandleEvents(SDL_joylist[i].joy);
     1.8 +		JS_HandleEvents(SDL_joylist[i].joy);
     1.9 +		return;
    1.10  	}
    1.11  #endif
    1.12