diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-07-19 15:13:33 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-07-19 15:13:33 +0300 |
commit | 735025d700d2091c92146cb28fa1d630a38df456 (patch) | |
tree | 755e80bb7de16fdb2feac58f6a85373f9bc5431d /redis_array_impl.c | |
parent | ea15ce24cd45072702a7c841593d14e800a1aeac (diff) |
Fix some static analyzer warnings
Two types of warnings were fixed in this commit:
1. The left operand of '<=' is a garbage value
2. Function call argument is an uninitialized value
Diffstat (limited to 'redis_array_impl.c')
-rw-r--r-- | redis_array_impl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis_array_impl.c b/redis_array_impl.c index 0735ab7e..2d482144 100644 --- a/redis_array_impl.c +++ b/redis_array_impl.c @@ -300,7 +300,7 @@ RedisArray *ra_load_array(const char *name TSRMLS_DC) { } /* find read timeout option */ - array_init(&z_params_connect_timeout); + array_init(&z_params_read_timeout); if ((iptr = INI_STR("redis.arrays.readtimeout")) != NULL) { sapi_module.treat_data(PARSE_STRING, estrdup(iptr), &z_params_read_timeout TSRMLS_CC); } |