summaryrefslogtreecommitdiff
path: root/entities.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2009-09-05 14:52:55 +0200
committerDaniel Veillard <veillard@redhat.com>2009-09-05 14:52:55 +0200
commit13cee4e37ba9f2a401f976e069539514ebfce7bc (patch)
tree2944214df2b8ace8482bf1f10313dc7117b31180 /entities.c
parent141ebfa0282652910bc89f2f106eca408c03bd06 (diff)
downloadlibxml2-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/entities.c b/entities.c
index c171e97f..6aef49f4 100644
--- a/entities.c
+++ b/entities.c
@@ -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);
}