diff options
author | dormando <dormando@rydia.net> | 2012-07-29 21:33:38 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2012-07-29 21:33:38 -0700 |
commit | 2ac661d8d5c09141fba652a45d726a807ec04c6e (patch) | |
tree | 500dcc0e9adca3560fc96f666ee2c6e38c14dfca | |
parent | 41b55764e15d1cc95e957c8c757f4ed7bbb9bc22 (diff) | |
download | memcached-2ac661d8d5c09141fba652a45d726a807ec04c6e.tar.gz |
remove unused variable
fix warning in new gcc.
-rw-r--r-- | slabs.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -445,7 +445,6 @@ int slab_bulk_check = DEFAULT_SLAB_BULK_CHECK; static int slab_rebalance_start(void) { slabclass_t *s_cls; - slabclass_t *d_cls; int no_go = 0; pthread_mutex_lock(&cache_lock); @@ -459,7 +458,6 @@ static int slab_rebalance_start(void) { no_go = -2; s_cls = &slabclass[slab_rebal.s_clsid]; - d_cls = &slabclass[slab_rebal.d_clsid]; if (!grow_slab_list(slab_rebal.d_clsid)) { no_go = -1; |