Commit 27fdaa88 authored by Sam Lantinga's avatar Sam Lantinga

SDL_sysjoystick.c:983: warning: 'return' with a value, in function returning void

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401710
parent 39b3be9d
...@@ -980,7 +980,8 @@ static __inline__ void JS_HandleEvents(SDL_Joystick *joystick) ...@@ -980,7 +980,8 @@ static __inline__ void JS_HandleEvents(SDL_Joystick *joystick)
#ifndef NO_LOGICAL_JOYSTICKS #ifndef NO_LOGICAL_JOYSTICKS
if (SDL_joylist[joystick->index].fname == NULL) { if (SDL_joylist[joystick->index].fname == NULL) {
SDL_joylist_head(i, joystick->index); SDL_joylist_head(i, joystick->index);
return JS_HandleEvents(SDL_joylist[i].joy); JS_HandleEvents(SDL_joylist[i].joy);
return;
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment