diff --git a/test/controllermap.c b/test/controllermap.c
index 6ea20a248..6e31d0290 100644
--- a/test/controllermap.c
+++ b/test/controllermap.c
@@ -233,7 +233,6 @@ WatchJoystick(SDL_Joystick * joystick)
     SDL_Rect dst;
     Uint8 alpha=200, alpha_step = -1;
     Uint32 alpha_ticks = 0;
-    Uint32 bound_ticks = 0;
     SDL_JoystickID nJoystickID;
     Uint32 unDeflectedAxes = 0;