aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLparser.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 /HTMLparser.c
parent141ebfa0282652910bc89f2f106eca408c03bd06 (diff)
downloadandroid_external_libxml2-13cee4e37ba9f2a401f976e069539514ebfce7bc.tar.gz
android_external_libxml2-13cee4e37ba9f2a401f976e069539514ebfce7bc.tar.bz2
android_external_libxml2-13cee4e37ba9f2a401f976e069539514ebfce7bc.zip
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 'HTMLparser.c')
-rw-r--r--HTMLparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HTMLparser.c b/HTMLparser.c
index ceb47fa7..f6385118 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -2560,7 +2560,7 @@ htmlParseHTMLAttribute(htmlParserCtxtPtr ctxt, const xmlChar stop) {
NEXT;
}
}
- *out++ = 0;
+ *out = 0;
return(buffer);
}