[libxml2] Cleanup of a duplicate test
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Cleanup of a duplicate test
- Date: Mon, 28 Jan 2013 17:25:22 +0000 (UTC)
commit 2af19f985b911b6dc6ada478ba8d201d2ddc9309
Author: Daniel Veillard <veillard redhat com>
Date: Mon Jan 28 17:44:53 2013 +0100
Cleanup of a duplicate test
in an and expression, pointed by Thomas Jarosch <thomas jarosch intra2net com>
Daniel
debugXML.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/debugXML.c b/debugXML.c
index 3874b19..c8efe6a 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]