From 13e150eccf5fd37da4a85669330b1cd117862308 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Thu, 19 Jun 2014 20:48:54 -0500 Subject: Remove unused array joy_pressed --- src/sdl/sdl_input.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/sdl') diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c index 65bf0815..6a3ffd8b 100644 --- a/src/sdl/sdl_input.c +++ b/src/sdl/sdl_input.c @@ -556,7 +556,6 @@ IN_JoyMove */ static void IN_JoyMove( void ) { - qboolean joy_pressed[ARRAY_LEN(joy_keys)]; unsigned int axes = 0; unsigned int hats = 0; int total = 0; @@ -567,8 +566,6 @@ static void IN_JoyMove( void ) SDL_JoystickUpdate(); - memset(joy_pressed, '\0', sizeof (joy_pressed)); - // update the ball state. total = SDL_JoystickNumBalls(stick); if (total > 0) -- cgit