diff options
author | William M. Brack <wbrack@src.gnome.org> | 2003-09-26 18:03:42 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2003-09-26 18:03:42 +0000 |
commit | 899e64aa2fa3b7796cff6901ef9aafe84215f8b2 (patch) | |
tree | 273df5696c93be1d04eec52c2fc229025dcd6c62 /entities.c | |
parent | 11476b4eacfd6283921fdb7878a4b9f1571ed68d (diff) | |
download | libxml2-899e64aa2fa3b7796cff6901ef9aafe84215f8b2.tar.gz |
minor change to avoid compilation warnings on some (e.g. AIX) systems
* HTMLparser.c, entities.c, xmlreader.c: minor change to
avoid compilation warnings on some (e.g. AIX) systems
Diffstat (limited to 'entities.c')
-rw-r--r-- | entities.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -771,11 +771,13 @@ xmlEncodeSpecialChars(xmlDocPtr doc, const xmlChar *input) { xmlChar *buffer = NULL; xmlChar *out = NULL; int buffer_size = 0; +#if 0 int html = 0; - if (input == NULL) return(NULL); if (doc != NULL) html = (doc->type == XML_HTML_DOCUMENT_NODE); +#endif + if (input == NULL) return(NULL); /* * allocate an translation buffer. |