another patch from Malcolm Tredinnick fixing warning generated by the
* acconfig.h config.h.in configure.in xmlIO.c xmlregexp.c xmlschemas.c
xmlschemastypes.c: another patch from Malcolm Tredinnick fixing
warning generated by the Nonstop Kernel Open System Services
compiler #151710
Daniel
diff --git a/xmlIO.c b/xmlIO.c
index 13a57e7..198fb15 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -2217,7 +2217,9 @@
int i = 0;
void *context = NULL;
char *unescaped = NULL;
+#ifdef HAVE_ZLIB_H
int is_file_uri = 1;
+#endif
if (xmlOutputCallbackInitialized == 0)
xmlRegisterDefaultOutputCallbacks();
@@ -2228,7 +2230,9 @@
if (puri != NULL) {
if ((puri->scheme != NULL) &&
(!xmlStrEqual(BAD_CAST puri->scheme, BAD_CAST "file")))
+#ifdef HAVE_ZLIB_H
is_file_uri = 0;
+#endif
/*
* try to limit the damages of the URI unescaping code.
*/