Commit 3dc66a9d authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

dinput: const REFIID is duplicate const (Coverity).

parent 4958db8e
...@@ -201,16 +201,16 @@ static void test_DirectInputCreateEx(void) ...@@ -201,16 +201,16 @@ static void test_DirectInputCreateEx(void)
{TRUE, DIRECTINPUT_VERSION + 1, &IID_IDirectInputA, TRUE, DIERR_OLDDIRECTINPUTVERSION, NULL}, {TRUE, DIRECTINPUT_VERSION + 1, &IID_IDirectInputA, TRUE, DIERR_OLDDIRECTINPUTVERSION, NULL},
}; };
static const REFIID no_interface_list[] = {&IID_IUnknown, &IID_IDirectInput8A, static REFIID no_interface_list[] = {&IID_IUnknown, &IID_IDirectInput8A,
&IID_IDirectInput8W, &IID_IDirectInputDeviceA, &IID_IDirectInput8W, &IID_IDirectInputDeviceA,
&IID_IDirectInputDeviceW, &IID_IDirectInputDevice2A, &IID_IDirectInputDeviceW, &IID_IDirectInputDevice2A,
&IID_IDirectInputDevice2W, &IID_IDirectInputDevice7A, &IID_IDirectInputDevice2W, &IID_IDirectInputDevice7A,
&IID_IDirectInputDevice7W, &IID_IDirectInputDevice8A, &IID_IDirectInputDevice7W, &IID_IDirectInputDevice8A,
&IID_IDirectInputDevice8W, &IID_IDirectInputEffect}; &IID_IDirectInputDevice8W, &IID_IDirectInputEffect};
static const REFIID iid_list[] = {&IID_IDirectInputA, &IID_IDirectInputW, static REFIID iid_list[] = {&IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W, &IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W}; &IID_IDirectInput7A, &IID_IDirectInput7W};
int i, j; int i, j;
IUnknown *pUnk; IUnknown *pUnk;
...@@ -270,9 +270,9 @@ static void test_DirectInputCreateEx(void) ...@@ -270,9 +270,9 @@ static void test_DirectInputCreateEx(void)
static void test_QueryInterface(void) static void test_QueryInterface(void)
{ {
static const REFIID iid_list[] = {&IID_IUnknown, &IID_IDirectInputA, &IID_IDirectInputW, static REFIID iid_list[] = {&IID_IUnknown, &IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W, &IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W}; &IID_IDirectInput7A, &IID_IDirectInput7W};
static const struct static const struct
{ {
......
...@@ -176,16 +176,16 @@ static void test_DirectInput8Create(void) ...@@ -176,16 +176,16 @@ static void test_DirectInput8Create(void)
{TRUE, DIRECTINPUT_VERSION + 1, &IID_IDirectInput8A, TRUE, DIERR_OLDDIRECTINPUTVERSION}, {TRUE, DIRECTINPUT_VERSION + 1, &IID_IDirectInput8A, TRUE, DIERR_OLDDIRECTINPUTVERSION},
}; };
static const REFIID no_interface_list[] = {&IID_IDirectInputA, &IID_IDirectInputW, static REFIID no_interface_list[] = {&IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W, &IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W, &IID_IDirectInput7A, &IID_IDirectInput7W,
&IID_IDirectInputDeviceA, &IID_IDirectInputDeviceW, &IID_IDirectInputDeviceA, &IID_IDirectInputDeviceW,
&IID_IDirectInputDevice2A, &IID_IDirectInputDevice2W, &IID_IDirectInputDevice2A, &IID_IDirectInputDevice2W,
&IID_IDirectInputDevice7A, &IID_IDirectInputDevice7W, &IID_IDirectInputDevice7A, &IID_IDirectInputDevice7W,
&IID_IDirectInputDevice8A, &IID_IDirectInputDevice8W, &IID_IDirectInputDevice8A, &IID_IDirectInputDevice8W,
&IID_IDirectInputEffect}; &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; int i;
IUnknown *pUnk; IUnknown *pUnk;
...@@ -225,7 +225,7 @@ static void test_DirectInput8Create(void) ...@@ -225,7 +225,7 @@ static void test_DirectInput8Create(void)
static void test_QueryInterface(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 static const struct
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment