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-29 18:40:46 +0400
committerRemi Collet <fedora@famillecollet.com>2012-08-29 18:40:46 +0400
commit007d55896435ce56d73c6f813de9301922ebc9ed (patch)
tree8943d997b07e0a76764ced56d7e4f00d64ca4217 /redis_array.c
parent4197a7ffedaef944ca34f6f090115a879417a0df (diff)
fix unused-variable warnings
Diffstat (limited to 'redis_array.c')
-rw-r--r--redis_array.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/redis_array.c b/redis_array.c
index 8d62106d..93e843c2 100644
--- a/redis_array.c
+++ b/redis_array.c
@@ -188,7 +188,6 @@ uint32_t rcrc32(const char *s, size_t sz) {
PHP_METHOD(RedisArray, __construct)
{
zval *z0, *z_fun = NULL, *z_dist = NULL, **zpData, *z_opts = NULL;
- char *name = NULL;
int id;
RedisArray *ra = NULL;
zend_bool b_index = 0, b_autorehash = 0;
@@ -457,7 +456,6 @@ PHP_METHOD(RedisArray, _instance)
PHP_METHOD(RedisArray, _function)
{
zval *object;
- int i;
RedisArray *ra;
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
@@ -480,7 +478,6 @@ PHP_METHOD(RedisArray, _function)
PHP_METHOD(RedisArray, _distributor)
{
zval *object;
- int i;
RedisArray *ra;
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O",
@@ -838,12 +835,11 @@ PHP_METHOD(RedisArray, mget)
/* MSET will distribute the call to several nodes and regroup the values. */
PHP_METHOD(RedisArray, mset)
{
- zval *object, *z_keys, z_fun, *z_argarray, **data, z_ret, **z_cur, *z_tmp;
- int i, j, n;
+ zval *object, *z_keys, z_fun, *z_argarray, **data, z_ret;
+ int i, n;
RedisArray *ra;
int *pos, argc, *argc_each;
HashTable *h_keys;
- HashPosition pointer;
zval **redis_instances, *redis_inst, **argv;
char *key, **keys;
unsigned int key_len;
@@ -959,8 +955,8 @@ PHP_METHOD(RedisArray, mset)
/* DEL will distribute the call to several nodes and regroup the values. */
PHP_METHOD(RedisArray, del)
{
- zval *object, *z_keys, z_fun, *z_argarray, **data, *z_ret, **z_cur, *z_tmp_array, *z_tmp, **z_args;
- int i, j, n;
+ zval *object, *z_keys, z_fun, *z_argarray, **data, *z_ret, *z_tmp, **z_args;
+ int i, n;
RedisArray *ra;
int *pos, argc, *argc_each;
HashTable *h_keys;