Commit 72690afd authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Remove unused function

parent e53ca04b
...@@ -188,10 +188,6 @@ static int zslValueLteMax(double value, zrangespec *spec) { ...@@ -188,10 +188,6 @@ static int zslValueLteMax(double value, zrangespec *spec) {
return spec->maxex ? (value < spec->max) : (value <= spec->max); return spec->maxex ? (value < spec->max) : (value <= spec->max);
} }
static int zslValueInRange(double value, zrangespec *spec) {
return zslValueGteMin(value,spec) && zslValueLteMax(value,spec);
}
/* Returns if there is a part of the zset is in range. */ /* Returns if there is a part of the zset is in range. */
int zslIsInRange(zskiplist *zsl, zrangespec *range) { int zslIsInRange(zskiplist *zsl, zrangespec *range) {
zskiplistNode *x; zskiplistNode *x;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment