diff options
author | Daniel Veillard <veillard@redhat.com> | 2009-09-05 14:52:55 +0200 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2009-09-05 14:52:55 +0200 |
commit | 13cee4e37ba9f2a401f976e069539514ebfce7bc (patch) | |
tree | 2944214df2b8ace8482bf1f10313dc7117b31180 /entities.c | |
parent | 141ebfa0282652910bc89f2f106eca408c03bd06 (diff) | |
download | libxml2-13cee4e37ba9f2a401f976e069539514ebfce7bc.tar.gz |
Fix a bunch of scan 'dead increments' and cleanup
* HTMLparser.c c14n.c debugXML.c entities.c nanohttp.c parser.c
testC14N.c uri.c xmlcatalog.c xmllint.c xmlregexp.c xpath.c:
fix unused variables, or unneeded increments as well as a couple
of space issues
* runtest.c: check for NULL before calling unlink()
Diffstat (limited to 'entities.c')
-rw-r--r-- | entities.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -690,7 +690,7 @@ xmlEncodeEntitiesReentrant(xmlDocPtr doc, const xmlChar *input) { } cur++; } - *out++ = 0; + *out = 0; return(buffer); } @@ -772,7 +772,7 @@ xmlEncodeSpecialChars(xmlDocPtr doc ATTRIBUTE_UNUSED, const xmlChar *input) { } cur++; } - *out++ = 0; + *out = 0; return(buffer); } |