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
622a84c6
Commit
622a84c6
authored
Apr 06, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat/tests: Add some return value checks (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
88924d6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
mfplat.c
dlls/mfplat/tests/mfplat.c
+5
-3
No files found.
dlls/mfplat/tests/mfplat.c
View file @
622a84c6
...
...
@@ -308,7 +308,8 @@ static void test_source_resolver(void)
IMFSourceResolver_Release
(
resolver
);
MFShutdown
();
hr
=
MFShutdown
();
ok
(
hr
==
S_OK
,
"Failed to shut down, hr %#x.
\n
"
,
hr
);
DeleteFileW
(
filename
);
}
...
...
@@ -1787,7 +1788,7 @@ static void test_allocate_queue(void)
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
hr
=
MFShutdown
();
ok
(
hr
==
S_OK
,
"Failed to shutdown, hr %#x.
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Failed to shut
down, hr %#x.
\n
"
,
hr
);
}
static
void
test_MFCopyImage
(
void
)
...
...
@@ -2074,7 +2075,8 @@ static void test_periodic_callback(void)
if
(
!
pMFAddPeriodicCallback
)
{
win_skip
(
"Periodic callbacks are not supported.
\n
"
);
MFShutdown
();
hr
=
MFShutdown
();
ok
(
hr
==
S_OK
,
"Failed to shut down, hr %#x.
\n
"
,
hr
);
return
;
}
...
...
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