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
5fdf50f7
Commit
5fdf50f7
authored
Apr 04, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Apr 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Make sure cookie* are not uninitialized (Coverity 760).
parent
61dcca5d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
filtergraph.c
dlls/quartz/tests/filtergraph.c
+4
-1
No files found.
dlls/quartz/tests/filtergraph.c
View file @
5fdf50f7
...
...
@@ -1460,7 +1460,7 @@ static HRESULT get_connected_filter_name(TestFilterImpl *pFilter, char *FilterNa
static
void
test_render_filter_priority
(
void
)
{
/* Tests filter choice priorities in Render(). */
DWORD
cookie1
,
cookie2
,
cookie3
;
DWORD
cookie1
=
0
,
cookie2
=
0
,
cookie3
=
0
;
HRESULT
hr
;
IFilterGraph2
*
pgraph2
=
NULL
;
IFilterMapper2
*
pMapper2
=
NULL
;
...
...
@@ -1758,12 +1758,15 @@ static void test_render_filter_priority(void)
hr
=
CoRegisterClassObject
(
Filter1ClassFactory
.
clsid
,
(
IUnknown
*
)
&
Filter1ClassFactory
,
CLSCTX_INPROC_SERVER
,
REGCLS_MULTIPLEUSE
,
&
cookie1
);
ok
(
hr
==
S_OK
,
"CoRegisterClassObject failed with %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
out
;
hr
=
CoRegisterClassObject
(
Filter2ClassFactory
.
clsid
,
(
IUnknown
*
)
&
Filter2ClassFactory
,
CLSCTX_INPROC_SERVER
,
REGCLS_MULTIPLEUSE
,
&
cookie2
);
ok
(
hr
==
S_OK
,
"CoRegisterClassObject failed with %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
out
;
hr
=
CoRegisterClassObject
(
Filter3ClassFactory
.
clsid
,
(
IUnknown
*
)
&
Filter3ClassFactory
,
CLSCTX_INPROC_SERVER
,
REGCLS_MULTIPLEUSE
,
&
cookie3
);
ok
(
hr
==
S_OK
,
"CoRegisterClassObject failed with %08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
goto
out
;
rgf2
.
dwVersion
=
2
;
rgf2
.
dwMerit
=
MERIT_UNLIKELY
;
...
...
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