Skip to content
Permalink
Browse files

Fixed unused local variable warning in joystick source for Android.

  • Loading branch information
philippwiesemann committed Dec 24, 2013
1 parent 28309c1 commit b97e077e474e48a027edb0f0d000f536328c2321
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/joystick/android/SDL_sysjoystick.c
@@ -421,7 +421,6 @@ int
SDL_SYS_JoystickOpen(SDL_Joystick * joystick, int device_index)
{
SDL_joylist_item *item = JoystickByDevIndex(device_index);
char *fname = NULL;

if (item == NULL ) {
return SDL_SetError("No such device");

0 comments on commit b97e077

Please sign in to comment.