mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
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()
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user