Commit:    2b6eede1d3e2fa7151a5cb07c20cf66504e6e066
Author:    Dmitry Stogov <dmi...@zend.com>         Fri, 15 Feb 2013 18:06:48 
+0400
Parents:   6693f1854d45b763ce21e53183c38ddad2ac0a20
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=2b6eede1d3e2fa7151a5cb07c20cf66504e6e066

Log:
Fixed warning about uninitialized variable (actually, it doesn't have to be 
initialized).

Changed paths:
  M  zend_accelerator_util_funcs.c


Diff:
diff --git a/zend_accelerator_util_funcs.c b/zend_accelerator_util_funcs.c
index c41080f..a234461 100644
--- a/zend_accelerator_util_funcs.c
+++ b/zend_accelerator_util_funcs.c
@@ -166,7 +166,7 @@ static void zend_destroy_property_info(zend_property_info 
*property_info)
 
 static inline zval* zend_clone_zval(zval *src, int bind TSRMLS_DC)
 {
-       zval *ret, **ret_ptr;
+       zval *ret, **ret_ptr = NULL;
 
        if (!bind) {
                ALLOC_ZVAL(ret);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to