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 /xmlregexp.c | |
parent | 141ebfa0282652910bc89f2f106eca408c03bd06 (diff) | |
download | android_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 'xmlregexp.c')
-rw-r--r-- | xmlregexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlregexp.c b/xmlregexp.c index ac6d8bc5..b1f1326e 100644 --- a/xmlregexp.c +++ b/xmlregexp.c @@ -6923,7 +6923,7 @@ tail: return(0); if (nb >= len) return(-2); - list[nb++] = exp->exp_str; + list[nb] = exp->exp_str; return(1); case XML_EXP_COUNT: exp = exp->exp_left; @@ -6978,7 +6978,7 @@ tail: return(0); if (nb >= len) return(-2); - list[nb++] = exp->exp_str; + list[nb] = exp->exp_str; return(1); case XML_EXP_COUNT: exp = exp->exp_left; |