Skip to content

Commit

Permalink
SDL_sysjoystick.c:983: warning: 'return' with a value, in function re…
Browse files Browse the repository at this point in the history
…turning void
  • Loading branch information
slouken committed May 1, 2006
1 parent 3dbf741 commit b3587f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/joystick/linux/SDL_sysjoystick.c
Expand Up @@ -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

Expand Down

0 comments on commit b3587f5

Please sign in to comment.