1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-20 18:50:08 +03:00

Silence a clang warning

as reported by Hans Wennborg <hans@chromium.org>
This commit is contained in:
Daniel Veillard 2012-09-26 10:21:06 +08:00
parent 7e86eb5d4b
commit 713434d230

View File

@ -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