Commit 6e3558cf99ffb72beec0b9420280401cd8949aac

Philipp Wiesemann 2013-11-10T14:42:41

Removed unused local variable to fix warning.

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 0c7f810..7b7799e 100644
--- a/src/joystick/android/SDL_sysjoystick.c
+++ b/src/joystick/android/SDL_sysjoystick.c
@@ -48,7 +48,6 @@ static SDL_bool SYS_accelAsJoy;
 int
 keycode_to_SDL(int keycode)
 {
-    int final = 0;
     /* D-Pad key codes (API 1):
      * KEYCODE_DPAD_UP=19, KEYCODE_DPAD_DOWN
      * KEYCODE_DPAD_LEFT, KEYCODE_DPAD_RIGHT, KEYCODE_DPAD_CENTER