diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-12-10 11:11:12 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-12-10 11:11:12 +0000 |
commit | 6a0baa0cd89b402cdfbb63e9c40f291ebd191f1d (patch) | |
tree | ae52209e948d18cae432e347012b7265177e9daf /HTMLparser.c | |
parent | ffe47feb2725849a6eb47299af87548fa0f52d4f (diff) | |
download | libxml2-6a0baa0cd89b402cdfbb63e9c40f291ebd191f1d.tar.gz |
fixed a number of warnings shown by HP-UX compiler and reported by Rick
* HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c
testapi.c xmlschemas.c xmlschemastypes.c xmlstring.c: fixed a number
of warnings shown by HP-UX compiler and reported by Rick Jones
Daniel
Diffstat (limited to 'HTMLparser.c')
-rw-r--r-- | HTMLparser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/HTMLparser.c b/HTMLparser.c index 4988a2fb..12afdd85 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -4779,7 +4779,7 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) { } break; case XML_PARSER_START_TAG: { - const xmlChar *name, *oldname; + const xmlChar *name; int failed; const htmlElemDesc * info; @@ -4832,7 +4832,7 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) { SKIP(2); if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) ctxt->sax->endElement(ctxt->userData, name); - oldname = htmlnamePop(ctxt); + htmlnamePop(ctxt); ctxt->instate = XML_PARSER_CONTENT; #ifdef DEBUG_PUSH xmlGenericError(xmlGenericErrorContext, @@ -4853,7 +4853,7 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) { */ if (xmlStrEqual(name, ctxt->name)) { nodePop(ctxt); - oldname = htmlnamePop(ctxt); + htmlnamePop(ctxt); } ctxt->instate = XML_PARSER_CONTENT; @@ -4870,7 +4870,7 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) { if ((info != NULL) && (info->empty)) { if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) ctxt->sax->endElement(ctxt->userData, name); - oldname = htmlnamePop(ctxt); + htmlnamePop(ctxt); } ctxt->instate = XML_PARSER_CONTENT; #ifdef DEBUG_PUSH |