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
ed26bb09
Commit
ed26bb09
authored
Nov 25, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Move element usage into element!=NULL check (Coverity).
parent
1fccc1b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
domdoc.c
dlls/msxml3/tests/domdoc.c
+3
-4
No files found.
dlls/msxml3/tests/domdoc.c
View file @
ed26bb09
...
@@ -1316,7 +1316,6 @@ todo_wine
...
@@ -1316,7 +1316,6 @@ todo_wine
/* now traverse the tree from the root element */
/* now traverse the tree from the root element */
if
(
element
)
if
(
element
)
{
{
IXMLDOMNode
*
node
;
r
=
IXMLDOMNode_get_childNodes
(
element
,
&
list
);
r
=
IXMLDOMNode_get_childNodes
(
element
,
&
list
);
ok
(
r
==
S_OK
,
"get_childNodes returned wrong code
\n
"
);
ok
(
r
==
S_OK
,
"get_childNodes returned wrong code
\n
"
);
...
@@ -1332,9 +1331,6 @@ todo_wine
...
@@ -1332,9 +1331,6 @@ todo_wine
IXMLDOMNodeList_AddRef
(
list
);
IXMLDOMNodeList_AddRef
(
list
);
expect_list_and_release
(
list
,
"E1.E2.D1 E2.E2.D1 E3.E2.D1 E4.E2.D1"
);
expect_list_and_release
(
list
,
"E1.E2.D1 E2.E2.D1 E3.E2.D1 E4.E2.D1"
);
ole_check
(
IXMLDOMNodeList_reset
(
list
));
ole_check
(
IXMLDOMNodeList_reset
(
list
));
}
else
ok
(
FALSE
,
"no element
\n
"
);
node
=
(
void
*
)
0xdeadbeef
;
node
=
(
void
*
)
0xdeadbeef
;
r
=
IXMLDOMNode_selectSingleNode
(
element
,
szdl
,
&
node
);
r
=
IXMLDOMNode_selectSingleNode
(
element
,
szdl
,
&
node
);
...
@@ -1344,6 +1340,9 @@ todo_wine
...
@@ -1344,6 +1340,9 @@ todo_wine
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
r
=
IXMLDOMNode_Release
(
node
);
r
=
IXMLDOMNode_Release
(
node
);
ok
(
r
==
0
,
"ret %08x
\n
"
,
r
);
ok
(
r
==
0
,
"ret %08x
\n
"
,
r
);
}
else
ok
(
FALSE
,
"no element
\n
"
);
if
(
list
)
if
(
list
)
{
{
...
...
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