summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2020-08-09 14:43:53 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2020-08-09 15:01:45 +0200
commit438e595a8cccbe48de3a0be2e0c291cfe97080b1 (patch)
tree5644367e97762f6e501ad7890d2a644a517c9bbf /include
parentf6a9541fb85c1ffdee1399ad2c0a54faaebf9f38 (diff)
downloadlibxml2-438e595a8cccbe48de3a0be2e0c291cfe97080b1.tar.gz
Stop counting nbChars in parser context
The value was inaccurate and never used.
Diffstat (limited to 'include')
-rw-r--r--include/libxml/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libxml/parser.h b/include/libxml/parser.h
index 3020b20c..1c86a97c 100644
--- a/include/libxml/parser.h
+++ b/include/libxml/parser.h
@@ -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 */