summaryrefslogtreecommitdiff
path: root/ext/spl/spl_array.c
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-14 20:43:25 -0700
committerChristopher Jones <sixd@php.net>2013-08-14 20:43:25 -0700
commit39612afc72623e89a2bc595c9be4be497568d1be (patch)
treeba336742c4b5ad3d4c8933748b91332f7436aa66 /ext/spl/spl_array.c
parent8c61758dc772345636e436e3f69bef7323f8b339 (diff)
parent9ad97cd48903ea5454853960f2c14de326e0f624 (diff)
downloadphp-git-39612afc72623e89a2bc595c9be4be497568d1be.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings. Conflicts: ext/dba/libinifile/inifile.c
Diffstat (limited to 'ext/spl/spl_array.c')
-rw-r--r--ext/spl/spl_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c
index 9ca681688b..ca8076a957 100644
--- a/ext/spl/spl_array.c
+++ b/ext/spl/spl_array.c
@@ -166,7 +166,7 @@ zend_object_iterator *spl_array_get_iterator(zend_class_entry *ce, zval *object,
/* {{{ spl_array_object_new_ex */
static zend_object_value spl_array_object_new_ex(zend_class_entry *class_type, spl_array_object **obj, zval *orig, int clone_orig TSRMLS_DC)
{
- zend_object_value retval;
+ zend_object_value retval = {0};
spl_array_object *intern;
zval *tmp;
zend_class_entry * parent = class_type;