Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
8a74acd7
Commit
8a74acd7
authored
2 years ago
by
Arek Hiler
Committed by
Alexandre Julliard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
dinput: Get rid of unused parameter in match_device_object.
parent
17ce835e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/dinput/device.c
+2
-2
2 additions, 2 deletions
dlls/dinput/device.c
with
2 additions
and
2 deletions
dlls/dinput/device.c
+
2
−
2
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
DIDATAFORMAT
*
format
,
const
DIOBJECTDATAFORMAT
*
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment