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:
4
xmlIO.c
4
xmlIO.c
@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user