From: Date: Tue, 8 Jan 2008 17:48:42 +0000 (-0800) Subject: Removing dead code. X-Git-Tag: 0.13~9 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=434db1f50f8d36ff2d5d52973ccfd963392470f7;p=m6w6%2Flibmemcached Removing dead code. --- diff --git a/lib/memcached_hosts.c b/lib/memcached_hosts.c index 6f49b270..88c255a5 100644 --- a/lib/memcached_hosts.c +++ b/lib/memcached_hosts.c @@ -13,9 +13,6 @@ static void rebalance_wheel(memcached_st *ptr) unsigned int x; unsigned int y; unsigned int latch; - unsigned int range; - - range= (MEMCACHED_WHEEL_SIZE / ptr->number_of_hosts); /* Seed the Wheel */ memset(ptr->wheel, 0, sizeof(unsigned int) * MEMCACHED_WHEEL_SIZE);