summaryrefslogtreecommitdiff
path: root/src/sdl
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-06-19 20:48:54 -0500
committerTim Angus <tim@ngus.net>2014-08-28 11:03:33 +0100
commit13e150eccf5fd37da4a85669330b1cd117862308 (patch)
treea8a8891d70aa3184e3c37328c5f0b9fb8fa3b217 /src/sdl
parent6a7af725d6f857b961ebf888f5156d771067f97d (diff)
Remove unused array joy_pressed
Diffstat (limited to 'src/sdl')
-rw-r--r--src/sdl/sdl_input.c3
1 files changed, 0 insertions, 3 deletions
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)