1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

Stop counting nbChars in parser context

The value was inaccurate and never used.
This commit is contained in:
Nick Wellnhofer
2020-08-09 14:43:53 +02:00
parent f6a9541fb8
commit 438e595a8c
4 changed files with 4 additions and 21 deletions

View File

@@ -231,7 +231,7 @@ struct _xmlParserCtxt {
int nameMax; /* Max depth of the parsing stack */
const xmlChar * *nameTab; /* array of nodes */
long nbChars; /* number of xmlChar processed */
long nbChars; /* unused */
long checkIndex; /* used by progressive parsing lookup */
int keepBlanks; /* ugly but ... */
int disableSAX; /* SAX callbacks are disabled */