]> git.saurik.com Git - redis.git/commitdiff
Remove unused function
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Sat, 12 Mar 2011 13:48:29 +0000 (14:48 +0100)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Mon, 14 Mar 2011 09:53:14 +0000 (10:53 +0100)
src/t_zset.c

index b8a961eb775022e46ef2468ecbb54334a6ce6520..63657890974343f860017d76a80264368a07e953 100644 (file)
@@ -188,10 +188,6 @@ static int zslValueLteMax(double value, zrangespec *spec) {
     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. */
 int zslIsInRange(zskiplist *zsl, zrangespec *range) {
     zskiplistNode *x;