summaryrefslogtreecommitdiff
path: root/testHTML.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2000-08-26 21:40:43 +0000
committerDaniel Veillard <veillard@src.gnome.org>2000-08-26 21:40:43 +0000
commitf0cc7ccc7db45fe1c055768a50be2243ed4e863c (patch)
tree66b1fd6fc5abda86dbe5012a8c015875795efe00 /testHTML.c
parent088f428a20b4abff1925d0f811a2b4343591b2ce (diff)
downloadlibxml2-f0cc7ccc7db45fe1c055768a50be2243ed4e863c.tar.gz
libxml now grok Docbook-3.1.5 and Docbook-4.1.1 DTDs, this
popped out a couple of bugs and 3 speed issues, there is only on minor speed issue left. Assorted collection of user reported bugs and fixes: - doc/encoding.html: added encoding aliases doc - doc/xml.html: updates - encoding.[ch]: added EncodingAliases functions - entities.[ch] valid.[ch] debugXML.c: removed two serious bottleneck affecting large DTDs like Docbook - parser.[ch] xmllint.c: added a pedantic option, will be useful - SAX.c: redefinition of entities is reported in pedantic mode - testHTML.c: uninitialized warning from gcc - uri.c: fixed a couple of bugs - TODO: added issue raised by Michael Daniel
Diffstat (limited to 'testHTML.c')
-rw-r--r--testHTML.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testHTML.c b/testHTML.c
index d680cf03..f998072b 100644
--- a/testHTML.c
+++ b/testHTML.c
@@ -572,7 +572,8 @@ xmlSAXHandlerPtr debugSAXHandler = &debugSAXHandlerStruct;
************************************************************************/
void parseSAXFile(char *filename) {
- htmlDocPtr doc;
+ htmlDocPtr doc = NULL;
+
/*
* Empty callbacks for checking
*/