dinput: const REFIID is duplicate const (Coverity).

This commit is contained in:
Marcus Meissner 2011-07-14 08:44:59 +02:00 committed by Alexandre Julliard
parent 4958db8eba
commit 3dc66a9d6d
2 changed files with 22 additions and 22 deletions

View File

@ -201,16 +201,16 @@ static void test_DirectInputCreateEx(void)
{TRUE, DIRECTINPUT_VERSION + 1, &IID_IDirectInputA, TRUE, DIERR_OLDDIRECTINPUTVERSION, NULL},
};
static const REFIID no_interface_list[] = {&IID_IUnknown, &IID_IDirectInput8A,
&IID_IDirectInput8W, &IID_IDirectInputDeviceA,
&IID_IDirectInputDeviceW, &IID_IDirectInputDevice2A,
&IID_IDirectInputDevice2W, &IID_IDirectInputDevice7A,
&IID_IDirectInputDevice7W, &IID_IDirectInputDevice8A,
&IID_IDirectInputDevice8W, &IID_IDirectInputEffect};
static REFIID no_interface_list[] = {&IID_IUnknown, &IID_IDirectInput8A,
&IID_IDirectInput8W, &IID_IDirectInputDeviceA,
&IID_IDirectInputDeviceW, &IID_IDirectInputDevice2A,
&IID_IDirectInputDevice2W, &IID_IDirectInputDevice7A,
&IID_IDirectInputDevice7W, &IID_IDirectInputDevice8A,
&IID_IDirectInputDevice8W, &IID_IDirectInputEffect};
static const REFIID iid_list[] = {&IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W};
static REFIID iid_list[] = {&IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W};
int i, j;
IUnknown *pUnk;
@ -270,9 +270,9 @@ static void test_DirectInputCreateEx(void)
static void test_QueryInterface(void)
{
static const REFIID iid_list[] = {&IID_IUnknown, &IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W};
static REFIID iid_list[] = {&IID_IUnknown, &IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W};
static const struct
{

View File

@ -176,16 +176,16 @@ static void test_DirectInput8Create(void)
{TRUE, DIRECTINPUT_VERSION + 1, &IID_IDirectInput8A, TRUE, DIERR_OLDDIRECTINPUTVERSION},
};
static const REFIID no_interface_list[] = {&IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W,
&IID_IDirectInputDeviceA, &IID_IDirectInputDeviceW,
&IID_IDirectInputDevice2A, &IID_IDirectInputDevice2W,
&IID_IDirectInputDevice7A, &IID_IDirectInputDevice7W,
&IID_IDirectInputDevice8A, &IID_IDirectInputDevice8W,
&IID_IDirectInputEffect};
static REFIID no_interface_list[] = {&IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W,
&IID_IDirectInputDeviceA, &IID_IDirectInputDeviceW,
&IID_IDirectInputDevice2A, &IID_IDirectInputDevice2W,
&IID_IDirectInputDevice7A, &IID_IDirectInputDevice7W,
&IID_IDirectInputDevice8A, &IID_IDirectInputDevice8W,
&IID_IDirectInputEffect};
static const REFIID iid_list[] = {&IID_IUnknown, &IID_IDirectInput8A, &IID_IDirectInput8W};
static REFIID iid_list[] = {&IID_IUnknown, &IID_IDirectInput8A, &IID_IDirectInput8W};
int i;
IUnknown *pUnk;
@ -225,7 +225,7 @@ static void test_DirectInput8Create(void)
static void test_QueryInterface(void)
{
static const REFIID iid_list[] = {&IID_IUnknown, &IID_IDirectInput8A, &IID_IDirectInput8W};
static REFIID iid_list[] = {&IID_IUnknown, &IID_IDirectInput8A, &IID_IDirectInput8W};
static const struct
{