changeset 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 a11c13151840
children 5b3bb08e7dd8
files src/joystick/linux/SDL_sysjoystick.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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