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

dinput: const REFIID is duplicate const (Coverity).

parent 4958db8e
......@@ -201,14 +201,14 @@ 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,
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,
static REFIID iid_list[] = {&IID_IDirectInputA, &IID_IDirectInputW,
&IID_IDirectInput2A, &IID_IDirectInput2W,
&IID_IDirectInput7A, &IID_IDirectInput7W};
......@@ -270,7 +270,7 @@ static void test_DirectInputCreateEx(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_IDirectInput7A, &IID_IDirectInput7W};
......
......@@ -176,7 +176,7 @@ static void test_DirectInput8Create(void)
{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_IDirectInput7A, &IID_IDirectInput7W,
&IID_IDirectInputDeviceA, &IID_IDirectInputDeviceW,
......@@ -185,7 +185,7 @@ static void test_DirectInput8Create(void)
&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
{
......
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