summaryrefslogtreecommitdiff
path: root/xinclude.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-09-24 14:13:13 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-09-24 14:13:13 +0000
commit118aed78f360f51d182770e62b251ef324707aa2 (patch)
tree7663107b890922ac71f466bc749f1f9dd45104c0 /xinclude.c
parent7233615a61a3636d8354e4e62b5c041f5fe0cbaf (diff)
downloadlibxml2-118aed78f360f51d182770e62b251ef324707aa2.tar.gz
fixed the data callback on transition functionality which was broken when
* xmlregexp.c: fixed the data callback on transition functionality which was broken when using the compact form * result/schemas/*: updated the results, less verbose, all tests pass like before * DOCBparser.c testAutomata.c testC14N.c testSchemas.c testThreads.c testXPath.c valid.c xinclude.c xmllint.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c python/libxml.c: removed a bunch of annoying warnings * xpath.c: try to provide better error report when possible Daniel
Diffstat (limited to 'xinclude.c')
-rw-r--r--xinclude.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xinclude.c b/xinclude.c
index 7650952f..74212937 100644
--- a/xinclude.c
+++ b/xinclude.c
@@ -369,7 +369,8 @@ xmlXIncludeAddNode(xmlXIncludeCtxtPtr ctxt, xmlNodePtr cur) {
* The XInclude recursive nature is handled at this point.
*/
static void
-xmlXIncludeRecurseDoc(xmlXIncludeCtxtPtr ctxt, xmlDocPtr doc, const xmlURL url) {
+xmlXIncludeRecurseDoc(xmlXIncludeCtxtPtr ctxt, xmlDocPtr doc,
+ ATTRIBUTE_UNUSED const xmlURL url) {
xmlXIncludeCtxtPtr newctxt;
int i;
@@ -1236,6 +1237,7 @@ xmlXIncludePreProcessNode(xmlXIncludeCtxtPtr ctxt, xmlNodePtr node) {
return(0);
}
+#if 0
/**
* xmlXIncludePreloadNode:
* @ctxt: an XInclude context
@@ -1373,6 +1375,7 @@ xmlXIncludePreloadNode(xmlXIncludeCtxtPtr ctxt, int nr) {
xmlFree(URL);
return(0);
}
+#endif
/**
* xmlXIncludeLoadNode: