[libxml2] Silence a clang warning
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Silence a clang warning
- Date: Wed, 26 Sep 2012 02:21:39 +0000 (UTC)
commit 713434d2309da469d64b35e163ea6556dadccada
Author: Daniel Veillard <veillard redhat com>
Date: Wed Sep 26 10:21:06 2012 +0800
Silence a clang warning
as reported by Hans Wennborg <hans chromium org>
xpath.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xpath.c b/xpath.c
index 9a82e90..c5b6aeb 100644
--- a/xpath.c
+++ b/xpath.c
@@ -12399,7 +12399,7 @@ xmlXPathNodeCollectAndTest(xmlXPathParserContextPtr ctxt,
break;
}
} else if (cur->type == type) {
- if (type == XML_NAMESPACE_DECL)
+ if (cur->type == XML_NAMESPACE_DECL)
XP_TEST_HIT_NS
else
XP_TEST_HIT
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]