Fixed unused local variable warning in joystick source for Android.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Tue, 24 Dec 2013 20:00:58 +0100
changeset 8075 65b6339c94c3
parent 8074 acf83dce00d1
child 8076 5df041422a93
Fixed unused local variable warning in joystick source for Android.
src/joystick/android/SDL_sysjoystick.c
--- a/src/joystick/android/SDL_sysjoystick.c	Tue Dec 24 19:59:35 2013 +0100
+++ b/src/joystick/android/SDL_sysjoystick.c	Tue Dec 24 20:00:58 2013 +0100
@@ -421,7 +421,6 @@
 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");