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:
authorRemi Collet <fedora@famillecollet.com>2012-08-30 09:50:30 +0400
committerRemi Collet <fedora@famillecollet.com>2012-08-30 09:50:30 +0400
commiteccffe52bacd391d26936176feea73225a8eff6c (patch)
treea3400f8efd7d821599e4044721487cba2ec125cd /redis.c
parentfa282646e2d4d997e5459ab8c7b2f9ad01cee46d (diff)
redis.c:4650:23: warning: variable 'hval_len' set but not used
Diffstat (limited to 'redis.c')
-rwxr-xr-xredis.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/redis.c b/redis.c
index e122a3df..dc80878e 100755
--- a/redis.c
+++ b/redis.c
@@ -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));