Skip to content
Permalink
Browse files

SDL_sysjoystick.c:983: warning: 'return' with a value, in function re…

…turning void
  • Loading branch information
slouken committed May 1, 2006
1 parent 3dbf741 commit b3587f57e95445904e2ae76d0dd03b0594b2cceb
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/joystick/linux/SDL_sysjoystick.c
@@ -980,7 +980,8 @@ static __inline__ void JS_HandleEvents(SDL_Joystick *joystick)
#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

0 comments on commit b3587f5

Please sign in to comment.