dinput: const REFGUID is doubled const (Coverity).

This commit is contained in:
Marcus Meissner 2011-07-26 17:43:09 +02:00 committed by Alexandre Julliard
parent d1e328a0f5
commit 011a817e65

View File

@ -874,7 +874,7 @@ static HRESULT WINAPI IDirectInput8AImpl_EnumDevicesBySemantics(
LPVOID pvRef, DWORD dwFlags
)
{
static const REFGUID guids[2] = { &GUID_SysKeyboard, &GUID_SysMouse };
static REFGUID guids[2] = { &GUID_SysKeyboard, &GUID_SysMouse };
static const DWORD actionMasks[] = { DIKEYBOARD_MASK, DIMOUSE_MASK };
IDirectInputImpl *This = impl_from_IDirectInput8A( iface );
DIDEVICEINSTANCEA didevi;
@ -945,7 +945,7 @@ static HRESULT WINAPI IDirectInput8WImpl_EnumDevicesBySemantics(
LPVOID pvRef, DWORD dwFlags
)
{
static const REFGUID guids[2] = { &GUID_SysKeyboard, &GUID_SysMouse };
static REFGUID guids[2] = { &GUID_SysKeyboard, &GUID_SysMouse };
static const DWORD actionMasks[] = { DIKEYBOARD_MASK, DIMOUSE_MASK };
IDirectInputImpl *This = impl_from_IDirectInput8W(iface);
DIDEVICEINSTANCEW didevi;