]> granicus.if.org Git - php/commitdiff
Fix compiler warnings
authorMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 20 Oct 2003 15:33:40 +0000 (15:33 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 20 Oct 2003 15:33:40 +0000 (15:33 +0000)
ext/libxml/libxml.c

index 0f7c4cf272fd6b0138c77e08af2a322a1f4a43dc..8055c7844bc5347e415eb2e40ed3144438e7d52f 100644 (file)
@@ -31,6 +31,7 @@
 #include "zend_variables.h"
 #include "ext/standard/php_string.h"
 #include "ext/standard/info.h"
+#include "ext/standard/file.h"
 
 #if HAVE_LIBXML
 
@@ -110,7 +111,6 @@ int php_libxml_streams_IO_match_wrapper(const char *filename)
 void *php_libxml_streams_IO_open_wrapper(const char *filename)
 {
        char resolved_path[MAXPATHLEN + 1];
-       int file_exist;
        php_stream_statbuf ssbuf;
        php_stream_context *context = NULL;
        php_stream_wrapper *wrapper = NULL;