windows: Fixed some Visual Studio warnings about shadowed variables.

Fixes Bugzilla #4118.
This commit is contained in:
Ryan C. Gordon
2018-07-22 19:28:27 -04:00
parent 3a11bba267
commit 862aa4b47d
2 changed files with 1 additions and 6 deletions

View File

@@ -366,10 +366,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joystick)
/* joystick hat events */
if (joyinfo.dwFlags & JOY_RETURNPOV) {
Uint8 pos;
pos = TranslatePOV(joyinfo.dwPOV);
SDL_PrivateJoystickHat(joystick, 0, pos);
SDL_PrivateJoystickHat(joystick, 0, TranslatePOV(joyinfo.dwPOV));
}
}