1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-14 20:01:04 +03:00

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
This commit is contained in:
Daniel Veillard
2004-09-28 12:33:52 +00:00
parent a81355ef66
commit c7e3cc49ba
8 changed files with 20 additions and 14 deletions

View File

@ -2217,7 +2217,9 @@ __xmlOutputBufferCreateFilename(const char *URI,
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 @@ __xmlOutputBufferCreateFilename(const char *URI,
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.
*/