1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-11 05:17:37 +03:00

removed a couple of unused variable (Albert Chin) Daniel

* SAX.c: removed a couple of unused variable (Albert Chin)
Daniel
This commit is contained in:
Daniel Veillard 2001-08-17 09:37:52 +00:00
parent bb3712974b
commit 5015b71417
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,7 @@
Fri Aug 17 11:35:31 CEST 2001 Daniel Veillard <daniel@veillard.com>
* SAX.c: removed a couple of unused variable (Albert Chin)
Fri Aug 17 01:25:21 CEST 2001 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c HTMLtree.c include/libxml/HTMLparser.h:

6
SAX.c
View File

@ -205,7 +205,6 @@ externalSubset(void *ctx, const xmlChar *name,
int oldinputNr;
int oldinputMax;
xmlParserInputPtr *oldinputTab;
int oldwellFormed;
xmlParserInputPtr input = NULL;
xmlCharEncoding enc;
int oldcharset;
@ -229,7 +228,6 @@ externalSubset(void *ctx, const xmlChar *name,
oldinputNr = ctxt->inputNr;
oldinputMax = ctxt->inputMax;
oldinputTab = ctxt->inputTab;
oldwellFormed = ctxt->wellFormed;
oldcharset = ctxt->charset;
ctxt->inputTab = (xmlParserInputPtr *)
@ -360,11 +358,9 @@ getEntity(void *ctx, const xmlChar *name)
* for validation purposes we really need to fetch and
* parse the external entity
*/
int parse;
xmlNodePtr children;
parse = xmlParseCtxtExternalEntity(ctxt,
ret->URI, ret->ExternalID, &children);
xmlParseCtxtExternalEntity(ctxt, ret->URI, ret->ExternalID, &children);
xmlAddChildList((xmlNodePtr) ret, children);
}
return(ret);