Jelajahi Sumber

Fixed compile warning

Sam Lantinga 6 tahun lalu
induk
melakukan
25061816bf
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  1. 0 1
      test/controllermap.c

+ 0 - 1
test/controllermap.c

@@ -367,7 +367,6 @@ WatchJoystick(SDL_Joystick * joystick)
     Uint8 alpha=200, alpha_step = -1;
     Uint8 alpha=200, alpha_step = -1;
     Uint32 alpha_ticks = 0;
     Uint32 alpha_ticks = 0;
     SDL_JoystickID nJoystickID;
     SDL_JoystickID nJoystickID;
-    int iIndex;
 
 
     /* Create a window to display joystick axis position */
     /* Create a window to display joystick axis position */
     window = SDL_CreateWindow("Game Controller Map", SDL_WINDOWPOS_CENTERED,
     window = SDL_CreateWindow("Game Controller Map", SDL_WINDOWPOS_CENTERED,