Fixed warning about unused variable.
This commit is contained in:
parent
bc51b6f628
commit
98cdee1ebc
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ SDL_SYS_JoystickSameHaptic(SDL_Haptic * haptic, SDL_Joystick * joystick)
|
||||||
int
|
int
|
||||||
SDL_SYS_HapticOpenFromJoystick(SDL_Haptic * haptic, SDL_Joystick * joystick)
|
SDL_SYS_HapticOpenFromJoystick(SDL_Haptic * haptic, SDL_Joystick * joystick)
|
||||||
{
|
{
|
||||||
int i, ret;
|
int i;
|
||||||
HRESULT idret;
|
HRESULT idret;
|
||||||
DIDEVICEINSTANCE joy_instance;
|
DIDEVICEINSTANCE joy_instance;
|
||||||
joy_instance.dwSize = sizeof(DIDEVICEINSTANCE);
|
joy_instance.dwSize = sizeof(DIDEVICEINSTANCE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue