File tree Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Expand file tree Collapse file tree 3 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -3903,8 +3903,6 @@ PHP_METHOD(Redis, zAdd) {
3903
3903
zval * * z_args ;
3904
3904
int argc = ZEND_NUM_ARGS (), i ;
3905
3905
3906
- smart_str buf = {0 };
3907
-
3908
3906
/* get redis socket */
3909
3907
if (redis_sock_get (getThis (), & redis_sock TSRMLS_CC , 0 ) < 0 ) {
3910
3908
RETURN_FALSE ;
Original file line number Diff line number Diff line change @@ -126,17 +126,6 @@ void redis_destructor_redis_array(zend_rsrc_list_entry * rsrc TSRMLS_DC)
126
126
redis_array_free (ra );
127
127
}
128
128
129
- int le_redis_array ;
130
- void redis_destructor_redis_array (zend_rsrc_list_entry * rsrc TSRMLS_DC )
131
- {
132
- RedisArray * ra = (RedisArray * )rsrc -> ptr ;
133
-
134
- /* Free previous ring if it's set */
135
- if (ra -> prev ) redis_array_free (ra -> prev );
136
-
137
- /* Free parent array */
138
- redis_array_free (ra );
139
- }
140
129
141
130
/**
142
131
* redis_array_get
Original file line number Diff line number Diff line change @@ -152,7 +152,6 @@ PHP_REDIS_API redis_pool_member *
152
152
redis_pool_get_sock (redis_pool * pool , const char * key TSRMLS_DC ) {
153
153
redis_pool_member * rpm = pool -> head ;
154
154
unsigned int pos , i ;
155
- redis_pool_member * rpm = pool -> head ;
156
155
157
156
memcpy (& pos , key , sizeof (pos ));
158
157
pos %= pool -> totalWeight ;
You can’t perform that action at this time.
0 commit comments