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
d24d007f
Commit
d24d007f
authored
Jun 22, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Silence a warning in ::get_baseName() for document nodes.
parent
e17be10d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
node.c
dlls/msxml3/node.c
+1
-0
domdoc.c
dlls/msxml3/tests/domdoc.c
+5
-0
No files found.
dlls/msxml3/node.c
View file @
d24d007f
...
...
@@ -1632,6 +1632,7 @@ static HRESULT WINAPI xmlnode_get_baseName(
break
;
case
XML_TEXT_NODE
:
case
XML_COMMENT_NODE
:
case
XML_DOCUMENT_NODE
:
break
;
default:
ERR
(
"Unhandled type %d
\n
"
,
This
->
node
->
type
);
...
...
dlls/msxml3/tests/domdoc.c
View file @
d24d007f
...
...
@@ -656,6 +656,11 @@ if (0)
r
=
IXMLDOMDocument_get_nodeName
(
doc
,
NULL
);
ok
(
r
==
E_INVALIDARG
,
"get_nodeName (NULL) wrong code
\n
"
);
str
=
(
BSTR
)
0xdeadbeef
;
r
=
IXMLDOMDocument_get_baseName
(
doc
,
&
str
);
ok
(
r
==
S_FALSE
,
"got 0x%08x
\n
"
,
r
);
ok
(
str
==
NULL
,
"got %p
\n
"
,
str
);
/* content doesn't matter here */
str
=
NULL
;
r
=
IXMLDOMDocument_get_nodeName
(
doc
,
&
str
);
...
...
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