summaryrefslogtreecommitdiff
path: root/debugXML.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2013-01-28 17:44:53 +0100
committerDaniel Veillard <veillard@redhat.com>2013-01-28 17:44:53 +0100
commit2af19f985b911b6dc6ada478ba8d201d2ddc9309 (patch)
tree5dbf1bec1fa60315f4eb7930f6438f39767fb500 /debugXML.c
parenteea38159be421dbafbee38f40e239f91734bc713 (diff)
downloadlibxml2-2af19f985b911b6dc6ada478ba8d201d2ddc9309.tar.gz
Cleanup of a duplicate test
in an and expression, pointed by Thomas Jarosch <thomas.jarosch@intra2net.com> Daniel
Diffstat (limited to 'debugXML.c')
-rw-r--r--debugXML.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/debugXML.c b/debugXML.c
index 3874b19f..c8efe6ab 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -354,7 +354,6 @@ xmlCtxtGenericNodeCheck(xmlDebugCtxtPtr ctxt, xmlNodePtr node) {
(node->type != XML_ELEMENT_DECL) &&
(node->type != XML_ATTRIBUTE_DECL) &&
(node->type != XML_DTD_NODE) &&
- (node->type != XML_ELEMENT_DECL) &&
(node->type != XML_HTML_DOCUMENT_NODE) &&
(node->type != XML_DOCUMENT_NODE)) {
if (node->content != NULL)