com php-src: Fixed warning about uninitialized variable (actually, it doesn't have to be initialized).: zend_accelerator_util_f uncs.c
| From: | Dmitry Stogov | Date: | Fri, 15 Feb 2013 14:06:48 +0000 |
| Subject: | com php-src: Fixed warning about uninitialized variable (actually, it doesn't have to be initialized).: zend_accelerator_util_f uncs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71538@lists.php.net to get a copy of this message | ||
Commit: 2b6eede1d3e2fa7151a5cb07c20cf66504e6e066
Author: Dmitry Stogov <dmitry@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);