From 25061816bf496889e0b13f317c8c8aa45b195c19 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 2 Mar 2020 10:58:08 -0800 Subject: [PATCH] Fixed compile warning --- test/controllermap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/controllermap.c b/test/controllermap.c index d8e83e3b5305b..6ef360a4f8cf2 100644 --- a/test/controllermap.c +++ b/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,