Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
72690afd
Commit
72690afd
authored
Mar 12, 2011
by
Pieter Noordhuis
Browse files
Remove unused function
parent
e53ca04b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_zset.c
View file @
72690afd
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment