Commit a7655d77d11dc3528b70014590a33d72c53587a0

Philipp Wiesemann 2016-11-30T23:31:23

Fixed warning about storing an unused value. Found by buildbot.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c
index 854388f..b60dbfc 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