diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c index 2933eb10829..06af92f9b25 100644 --- a/dlls/dinput/dinput_main.c +++ b/dlls/dinput/dinput_main.c @@ -393,7 +393,8 @@ static HRESULT WINAPI IDirectInputAImpl_EnumDevices( IDirectInputImpl *This = impl_from_IDirectInput7A(iface); DIDEVICEINSTANCEA devInstance; unsigned int i; - int j, r; + int j; + HRESULT r; TRACE("(this=%p,0x%04x '%s',%p,%p,0x%04x)\n", This, dwDevType, _dump_DIDEVTYPE_value(dwDevType, This->dwVersion),