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
8a74acd7
Commit
8a74acd7
authored
Jul 22, 2022
by
Arkadiusz Hiler
Committed by
Alexandre Julliard
Jul 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Get rid of unused parameter in match_device_object.
parent
17ce835e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
device.c
dlls/dinput/device.c
+2
-2
No files found.
dlls/dinput/device.c
View file @
8a74acd7
...
...
@@ -244,7 +244,7 @@ LPDIOBJECTDATAFORMAT dataformat_to_odf_by_type(LPCDIDATAFORMAT df, int n, DWORD
}
static
BOOL
match_device_object
(
const
DIDATAFORMAT
*
device_format
,
DIDATAFORMAT
*
user_format
,
const
DI
DATAFORMAT
*
format
,
const
DI
OBJECTDATAFORMAT
*
match_obj
,
DWORD
version
)
const
DIOBJECTDATAFORMAT
*
match_obj
,
DWORD
version
)
{
DWORD
i
,
device_instance
,
instance
=
DIDFT_GETINSTANCE
(
match_obj
->
dwType
);
DIOBJECTDATAFORMAT
*
device_obj
,
*
user_obj
;
...
...
@@ -292,7 +292,7 @@ static HRESULT dinput_device_init_user_format( struct dinput_device *impl, const
{
match_obj
=
format
->
rgodf
+
i
;
if
(
!
match_device_object
(
device_format
,
user_format
,
format
,
match_obj
,
impl
->
dinput
->
dwVersion
))
if
(
!
match_device_object
(
device_format
,
user_format
,
match_obj
,
impl
->
dinput
->
dwVersion
))
{
WARN
(
"object %s not found
\n
"
,
debugstr_diobjectdataformat
(
match_obj
)
);
if
(
!
(
match_obj
->
dwType
&
DIDFT_OPTIONAL
))
goto
failed
;
...
...
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