mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-20 14:03:33 +03:00
xinclude: Remove unused member 'url' from xmlXIncludeCtxt
This commit is contained in:
parent
966f5ebd77
commit
0b09f132f4
@ -77,7 +77,6 @@ struct _xmlXIncludeCtxt {
|
|||||||
xmlChar * *txtTab; /* array of unparsed text strings */
|
xmlChar * *txtTab; /* array of unparsed text strings */
|
||||||
xmlURL *txturlTab; /* array of unparsed text URLs */
|
xmlURL *txturlTab; /* array of unparsed text URLs */
|
||||||
|
|
||||||
xmlChar * url; /* the current URL processed */
|
|
||||||
int urlNr; /* number of URLs stacked */
|
int urlNr; /* number of URLs stacked */
|
||||||
int urlMax; /* size of URL stack */
|
int urlMax; /* size of URL stack */
|
||||||
xmlChar * *urlTab; /* URL stack */
|
xmlChar * *urlTab; /* URL stack */
|
||||||
@ -351,7 +350,7 @@ xmlXIncludeURLPush(xmlXIncludeCtxtPtr ctxt,
|
|||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ctxt->url = ctxt->urlTab[ctxt->urlNr] = xmlStrdup(value);
|
ctxt->urlTab[ctxt->urlNr] = xmlStrdup(value);
|
||||||
return (ctxt->urlNr++);
|
return (ctxt->urlNr++);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -369,10 +368,6 @@ xmlXIncludeURLPop(xmlXIncludeCtxtPtr ctxt)
|
|||||||
if (ctxt->urlNr <= 0)
|
if (ctxt->urlNr <= 0)
|
||||||
return;
|
return;
|
||||||
ctxt->urlNr--;
|
ctxt->urlNr--;
|
||||||
if (ctxt->urlNr > 0)
|
|
||||||
ctxt->url = ctxt->urlTab[ctxt->urlNr - 1];
|
|
||||||
else
|
|
||||||
ctxt->url = NULL;
|
|
||||||
ret = ctxt->urlTab[ctxt->urlNr];
|
ret = ctxt->urlTab[ctxt->urlNr];
|
||||||
ctxt->urlTab[ctxt->urlNr] = NULL;
|
ctxt->urlTab[ctxt->urlNr] = NULL;
|
||||||
if (ret != NULL)
|
if (ret != NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user