diff options
author | Anatol Belski <ab@php.net> | 2014-07-01 18:59:41 +0400 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-07-01 18:59:41 +0400 |
commit | cdd4557f014a82c7b7ce3a841654ab4cfa0f12f2 (patch) | |
tree | a1061e152e91d25d51be0b35837ed0192c4daad8 /redis_array.c | |
parent | 79efa8d791ac2db33a7eb29e51813faacdb7bb21 (diff) |
fix unreferenced variable warnings
Diffstat (limited to 'redis_array.c')
-rw-r--r-- | redis_array.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/redis_array.c b/redis_array.c index 1d4b6c92..899ba718 100644 --- a/redis_array.c +++ b/redis_array.c @@ -985,8 +985,6 @@ PHP_METHOD(RedisArray, mset) unsigned int key_len, free_idx = 0; int type, *key_lens; unsigned long idx; - int found; - zval *z_tmp; /* Multi/exec support */ HANDLE_MULTI_EXEC("MSET"); @@ -1006,7 +1004,7 @@ PHP_METHOD(RedisArray, mset) argv = emalloc(argc * sizeof(zval*)); pos = emalloc(argc * sizeof(int)); keys = emalloc(argc * sizeof(char*)); - key_lens = emalloc(argc * sizeof(int)); + key_lens = emalloc(argc * sizeof(int)); redis_instances = emalloc(argc * sizeof(zval*)); memset(redis_instances, 0, argc * sizeof(zval*)); |