Răsfoiți Sursa

Fixed warning about storing an unused value.

Found by buildbot.
Philipp Wiesemann 8 ani în urmă
părinte
comite
a7655d77d1
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      src/joystick/SDL_joystick.c

+ 0 - 2
src/joystick/SDL_joystick.c

@@ -822,8 +822,6 @@ SDL_JoystickUpdate(void)
         if (joystick->ref_count <= 0) {
         if (joystick->ref_count <= 0) {
             SDL_JoystickClose(joystick);
             SDL_JoystickClose(joystick);
         }
         }
-
-        joystick = joysticknext;
     }
     }
 
 
     /* this needs to happen AFTER walking the joystick list above, so that any
     /* this needs to happen AFTER walking the joystick list above, so that any