Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
libxml2
Commits
eea38159
Commit
eea38159
authored
Jan 28, 2013
by
Daniel Veillard
Browse files
Cleanup on duplicate test expressions
As pointed out by Thomas Jarosch <thomas.jarosch@intra2net.com> Daniel
parent
9c8eaabe
Changes
1
Hide whitespace changes
Inline
Side-by-side
xmlreader.c
View file @
eea38159
...
...
@@ -1409,8 +1409,7 @@ get_next_node:
#endif
(
reader
->
entNr
==
0
)
&&
(
reader
->
node
->
prev
!=
NULL
)
&&
(
reader
->
node
->
prev
->
type
!=
XML_DTD_NODE
)
&&
(
reader
->
entNr
==
0
))
{
(
reader
->
node
->
prev
->
type
!=
XML_DTD_NODE
))
{
xmlNodePtr
tmp
=
reader
->
node
->
prev
;
if
((
tmp
->
extra
&
NODE_IS_PRESERVED
)
==
0
)
{
xmlUnlinkNode
(
tmp
);
...
...
@@ -1459,8 +1458,7 @@ get_next_node:
#endif
(
reader
->
entNr
==
0
)
&&
(
oldnode
->
type
!=
XML_DTD_NODE
)
&&
((
oldnode
->
extra
&
NODE_IS_PRESERVED
)
==
0
)
&&
(
reader
->
entNr
==
0
))
{
((
oldnode
->
extra
&
NODE_IS_PRESERVED
)
==
0
))
{
xmlUnlinkNode
(
oldnode
);
xmlTextReaderFreeNode
(
reader
,
oldnode
);
}
...
...
Write
Preview
Supports
Markdown
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