From: Marcus Boerger Date: Mon, 4 Feb 2008 17:18:48 +0000 (+0000) Subject: Fix default flag value in contructor X-Git-Tag: RELEASE_2_0_0a1~624 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a78c1b4759d722de62ae6e539126ace853630585;p=php Fix default flag value in contructor --- diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 36c8c8bd86..26a467d5e5 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -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);