Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
87a8622f
Commit
87a8622f
authored
May 26, 2019
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
May 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Remove unrequired if (Coverity).
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c3408901
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
keyboard.c
dlls/dinput/tests/keyboard.c
+1
-1
mouse.c
dlls/dinput/tests/mouse.c
+1
-1
No files found.
dlls/dinput/tests/keyboard.c
View file @
87a8622f
...
@@ -479,7 +479,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI)
...
@@ -479,7 +479,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI)
wine_dbgstr_guid
(
&
instA
.
guidProduct
),
wine_dbgstr_guid
(
&
inst3A
.
guidProduct
)
);
wine_dbgstr_guid
(
&
instA
.
guidProduct
),
wine_dbgstr_guid
(
&
inst3A
.
guidProduct
)
);
ok
(
instA
.
dwDevType
==
inst3A
.
dwDevType
,
"got %d, %d
\n
"
,
instA
.
dwDevType
,
inst3A
.
dwDevType
);
ok
(
instA
.
dwDevType
==
inst3A
.
dwDevType
,
"got %d, %d
\n
"
,
instA
.
dwDevType
,
inst3A
.
dwDevType
);
if
(
pKey
)
IUnknown_Release
(
pKey
);
IUnknown_Release
(
pKey
);
}
}
static
void
keyboard_tests
(
DWORD
version
)
static
void
keyboard_tests
(
DWORD
version
)
...
...
dlls/dinput/tests/mouse.c
View file @
87a8622f
...
@@ -224,7 +224,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI)
...
@@ -224,7 +224,7 @@ static void test_GetDeviceInfo(IDirectInputA *pDI)
wine_dbgstr_guid
(
&
instA
.
guidProduct
),
wine_dbgstr_guid
(
&
inst3A
.
guidProduct
)
);
wine_dbgstr_guid
(
&
instA
.
guidProduct
),
wine_dbgstr_guid
(
&
inst3A
.
guidProduct
)
);
ok
(
instA
.
dwDevType
==
inst3A
.
dwDevType
,
"got %d, %d
\n
"
,
instA
.
dwDevType
,
inst3A
.
dwDevType
);
ok
(
instA
.
dwDevType
==
inst3A
.
dwDevType
,
"got %d, %d
\n
"
,
instA
.
dwDevType
,
inst3A
.
dwDevType
);
if
(
pMouse
)
IUnknown_Release
(
pMouse
);
IUnknown_Release
(
pMouse
);
}
}
static
BOOL
CALLBACK
EnumAxes
(
const
DIDEVICEOBJECTINSTANCEA
*
pdidoi
,
void
*
pContext
)
static
BOOL
CALLBACK
EnumAxes
(
const
DIDEVICEOBJECTINSTANCEA
*
pdidoi
,
void
*
pContext
)
...
...
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