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
This commit is contained in:
parent
39b3be9d6b
commit
27fdaa8880
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue