projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
First push of example C++ interface.
[m6w6/libmemcached]
/
lib
/
memcached_hosts.c
diff --git
a/lib/memcached_hosts.c
b/lib/memcached_hosts.c
index 6f49b270a98b305426d168ea528b11c3d16e3a8c..88c255a59d2997222b67f83107fa11cca545665f 100644
(file)
--- 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);