diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-08-30 09:50:30 +0400 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-08-30 09:50:30 +0400 |
commit | eccffe52bacd391d26936176feea73225a8eff6c (patch) | |
tree | a3400f8efd7d821599e4044721487cba2ec125cd /redis.c | |
parent | fa282646e2d4d997e5459ab8c7b2f9ad01cee46d (diff) |
redis.c:4650:23: warning: variable 'hval_len' set but not used
Diffstat (limited to 'redis.c')
-rwxr-xr-x | redis.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4647,7 +4647,7 @@ PHPAPI void array_zip_values_and_scores(RedisSock *redis_sock, zval *z_tab, int char *tablekey, *hkey, *hval; unsigned int tablekey_len; - int hkey_len, hval_len; + int hkey_len; unsigned long idx; zval **z_key_pp, **z_value_pp; @@ -4672,7 +4672,6 @@ PHPAPI void array_zip_values_and_scores(RedisSock *redis_sock, zval *z_tab, int /* get current value, a hash value now. */ hval = Z_STRVAL_PP(z_value_pp); - hval_len = Z_STRLEN_PP(z_value_pp); if(use_atof) { /* zipping a score */ add_assoc_double_ex(z_ret, hkey, 1+hkey_len, atof(hval)); |