diff options
author | antirez <antirez@gmail.com> | 2011-04-28 19:00:33 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-04-28 19:00:33 +0200 |
commit | c772d9c6e7a4b65075c6efd15a53e84bb3c7ba3f (patch) | |
tree | 023b4134a6676f3e99132b0bcca35a51d223030a /src/t_zset.c | |
parent | 45b0f6fb14f2a0d5bca0b4e32cb44a31e29aa921 (diff) | |
download | redis-c772d9c6e7a4b65075c6efd15a53e84bb3c7ba3f.tar.gz |
take a hashslot -> keys index, will be used for cluster rehasing
Diffstat (limited to 'src/t_zset.c')
-rw-r--r-- | src/t_zset.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/t_zset.c b/src/t_zset.c index 7ce60349f..e9da9fdb2 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -174,12 +174,6 @@ int zslDelete(zskiplist *zsl, double score, robj *obj) { return 0; /* not found */ } -/* Struct to hold a inclusive/exclusive range spec. */ -typedef struct { - double min, max; - int minex, maxex; /* are min or max exclusive? */ -} zrangespec; - static int zslValueGteMin(double value, zrangespec *spec) { return spec->minex ? (value > spec->min) : (value >= spec->min); } |