浏览代码

Fixed compile warning

Sam Lantinga 6 年之前
父节点
当前提交
25061816bf
共有 1 个文件被更改,包括 0 次插入1 次删除
  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;
     Uint32 alpha_ticks = 0;
     SDL_JoystickID nJoystickID;
-    int iIndex;
 
     /* Create a window to display joystick axis position */
     window = SDL_CreateWindow("Game Controller Map", SDL_WINDOWPOS_CENTERED,