From a7655d77d11dc3528b70014590a33d72c53587a0 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Wed, 30 Nov 2016 23:31:23 +0100 Subject: [PATCH] Fixed warning about storing an unused value. Found by buildbot. --- src/joystick/SDL_joystick.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index 854388f378681..b60dbfc0b5fb8 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -822,8 +822,6 @@ SDL_JoystickUpdate(void) if (joystick->ref_count <= 0) { SDL_JoystickClose(joystick); } - - joystick = joysticknext; } /* this needs to happen AFTER walking the joystick list above, so that any