summaryrefslogtreecommitdiff
path: root/xml
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2013-10-23 00:43:22 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2013-10-23 00:43:22 +0000
commitc4e65bd3142bec6f0c895f01a9260dffb85fcdb8 (patch)
tree83fd8aa95c6173c8fa0f7129844da4e6c44caec6 /xml
parent28e1d9dfddfbbdddadbe122d7788ea51e8b471ae (diff)
downloadlibapr-c4e65bd3142bec6f0c895f01a9260dffb85fcdb8.tar.gz
fix some minor bugs and useless assignments so that clang scan-build
is a little quieter git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1534882 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'xml')
-rw-r--r--xml/apr_xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml/apr_xml.c b/xml/apr_xml.c
index 18423b564..8ea2b32fe 100644
--- a/xml/apr_xml.c
+++ b/xml/apr_xml.c
@@ -63,7 +63,7 @@ static int find_prefix(apr_xml_parser *parser, const char *prefix)
** prefix.
*/
for (; elem; elem = elem->parent) {
- apr_xml_ns_scope *ns_scope = elem->ns_scope;
+ apr_xml_ns_scope *ns_scope;
for (ns_scope = elem->ns_scope; ns_scope; ns_scope = ns_scope->next) {
if (strcmp(prefix, ns_scope->prefix) == 0) {