From 599456453786acd021e4e702ff0075116536eb79 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Thu, 19 Jun 2014 20:48:54 -0500 Subject: [PATCH] Remove unused array joy_pressed --- code/sdl/sdl_input.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/sdl/sdl_input.c b/code/sdl/sdl_input.c index 88c0ef58..5035285b 100644 --- a/code/sdl/sdl_input.c +++ b/code/sdl/sdl_input.c @@ -658,7 +658,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; @@ -669,8 +668,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)