Commit b97e077e474e48a027edb0f0d000f536328c2321

Philipp Wiesemann 2013-12-24T20:00:58

Fixed unused local variable warning in joystick source for Android.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/android/SDL_sysjoystick.c b/src/joystick/android/SDL_sysjoystick.c
index 3d5aa32..2af8235 100644
--- a/src/joystick/android/SDL_sysjoystick.c
+++ b/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");