From 2ac661d8d5c09141fba652a45d726a807ec04c6e Mon Sep 17 00:00:00 2001 From: dormando Date: Sun, 29 Jul 2012 21:33:38 -0700 Subject: remove unused variable fix warning in new gcc. --- slabs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/slabs.c b/slabs.c index d8b3eac..b74617e 100644 --- a/slabs.c +++ b/slabs.c @@ -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; -- cgit v1.2.1