Fixed warning about storing an unused value.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 30 Nov 2016 23:31:23 +0100
changeset 106636bbd07f9fc08
parent 10662 c6756f2a187b
child 10664 36ade8dfcea2
Fixed warning about storing an unused value.

Found by buildbot.
src/joystick/SDL_joystick.c
     1.1 --- a/src/joystick/SDL_joystick.c	Tue Nov 29 22:02:37 2016 -0800
     1.2 +++ b/src/joystick/SDL_joystick.c	Wed Nov 30 23:31:23 2016 +0100
     1.3 @@ -822,8 +822,6 @@
     1.4          if (joystick->ref_count <= 0) {
     1.5              SDL_JoystickClose(joystick);
     1.6          }
     1.7 -
     1.8 -        joystick = joysticknext;
     1.9      }
    1.10  
    1.11      /* this needs to happen AFTER walking the joystick list above, so that any