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
05d8283a
Commit
05d8283a
authored
Jul 02, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1/tests: Add missing return value check (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
0b51ef9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
d2d1.c
dlls/d2d1/tests/d2d1.c
+5
-1
No files found.
dlls/d2d1/tests/d2d1.c
View file @
05d8283a
...
...
@@ -10934,7 +10934,11 @@ static void test_effect_register(BOOL d3d11)
hr
=
ID2D1Factory1_RegisterEffectFromString
(
factory
,
&
CLSID_TestEffect
,
test
->
effect_xml
,
test
->
binding
,
test
->
binding_count
,
effect_impl_create
);
ok
(
hr
==
test
->
hr
,
"Got unexpected hr %#lx, expected %#lx.
\n
"
,
hr
,
test
->
hr
);
ID2D1Factory1_UnregisterEffect
(
factory
,
&
CLSID_TestEffect
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ID2D1Factory1_UnregisterEffect
(
factory
,
&
CLSID_TestEffect
);
ok
(
hr
==
S_OK
,
"Got unexpected hr %#lx.
\n
"
,
hr
);
}
winetest_pop_context
();
}
...
...
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