From 5015b7141702bd71a0539fc7e6557da9a00606ce Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 17 Aug 2001 09:37:52 +0000 Subject: [PATCH] removed a couple of unused variable (Albert Chin) Daniel * SAX.c: removed a couple of unused variable (Albert Chin) Daniel --- ChangeLog | 4 ++++ SAX.c | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1ee73ad0..16db10fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Aug 17 11:35:31 CEST 2001 Daniel Veillard + + * SAX.c: removed a couple of unused variable (Albert Chin) + Fri Aug 17 01:25:21 CEST 2001 Daniel Veillard * HTMLparser.c HTMLtree.c include/libxml/HTMLparser.h: diff --git a/SAX.c b/SAX.c index b5421579..05d70ab0 100644 --- a/SAX.c +++ b/SAX.c @@ -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);