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 1752 97f20f2a1d85
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
--- 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