]> granicus.if.org Git - php/commitdiff
Fix default flag value in contructor
authorMarcus Boerger <helly@php.net>
Mon, 4 Feb 2008 17:18:48 +0000 (17:18 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 4 Feb 2008 17:18:48 +0000 (17:18 +0000)
ext/spl/spl_directory.c

index 36c8c8bd865c057eb554b56530684bc4136aa3f6..26a467d5e5a78e1d58c1e1949b365107354a5a56 100755 (executable)
@@ -597,7 +597,7 @@ void spl_filesystem_object_construct(INTERNAL_FUNCTION_PARAMETERS, int ctor_flag
        zstr path;
        int parsed, len;
        zend_uchar path_type;
-       long flags;
+       long flags = 0;
        
        php_set_error_handling(EH_THROW, spl_ce_RuntimeException TSRMLS_CC);