diff options
author | Jeff Trawick <trawick@apache.org> | 2013-10-23 00:43:22 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2013-10-23 00:43:22 +0000 |
commit | 5fb5418b04fe33bec7bca15e638102b501d330dc (patch) | |
tree | 83fd8aa95c6173c8fa0f7129844da4e6c44caec6 /xml | |
parent | 53e3bf8650ead2f5269e77831e8c32f238c6233b (diff) | |
download | apr-5fb5418b04fe33bec7bca15e638102b501d330dc.tar.gz |
fix some minor bugs and useless assignments so that clang scan-build
is a little quieter
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1534882 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'xml')
-rw-r--r-- | xml/apr_xml.c | 2 |
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) { |