Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2016-12-20 17:26:21 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2016-12-20 17:26:21 +0300
commit1fb6a24556abed23fcdf68f35c511339aebfb3ec (patch)
treead463047d2bc24a0b6be07a8061d5d25a98897e4 /redis_array.c
parent5ee32baee60d2ed64a723fd20c3b7943732a33ad (diff)
fix 'optional var not initialized' warnings
Diffstat (limited to 'redis_array.c')
-rw-r--r--redis_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis_array.c b/redis_array.c
index 8d8a2961..1d33d92e 100644
--- a/redis_array.c
+++ b/redis_array.c
@@ -551,8 +551,8 @@ PHP_METHOD(RedisArray, _rehash)
{
zval *object;
RedisArray *ra;
- zend_fcall_info z_cb;
- zend_fcall_info_cache z_cb_cache;
+ zend_fcall_info z_cb = {0};
+ zend_fcall_info_cache z_cb_cache = {0};
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|f",
&object, redis_array_ce, &z_cb, &z_cb_cache) == FAILURE) {