Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
3dc66a9d
Commit
3dc66a9d
authored
Jul 14, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Jul 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: const REFIID is duplicate const (Coverity).
parent
4958db8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
dinput.c
dlls/dinput/tests/dinput.c
+12
-12
dinput.c
dlls/dinput8/tests/dinput.c
+10
-10
No files found.
dlls/dinput/tests/dinput.c
View file @
3dc66a9d
...
...
@@ -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
{
...
...
dlls/dinput8/tests/dinput.c
View file @
3dc66a9d
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment