Skip to content

Commit

Permalink
Fixed warning about storing an unused value.
Browse files Browse the repository at this point in the history
Found by buildbot.
  • Loading branch information
philippwiesemann committed Nov 30, 2016
1 parent d834c08 commit a7655d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/joystick/SDL_joystick.c
Expand Up @@ -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
Expand Down

0 comments on commit a7655d7

Please sign in to comment.