Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
fix warning in new gcc.
  • Loading branch information
dormando committed Jul 30, 2012
1 parent 41b5576 commit 2ac661d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions slabs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
Expand Down

0 comments on commit 2ac661d

Please sign in to comment.