Fix function names in zslDeleteNode() top comment.
This commit is contained in:
parent
bde1f0a8e2
commit
ddeda9ceb7
@ -186,7 +186,8 @@ zskiplistNode *zslInsert(zskiplist *zsl, double score, sds ele) {
|
|||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Internal function used by zslDelete, zslDeleteByScore and zslDeleteByRank */
|
/* Internal function used by zslDelete, zslDeleteRangeByScore and
|
||||||
|
* zslDeleteRangeByRank. */
|
||||||
void zslDeleteNode(zskiplist *zsl, zskiplistNode *x, zskiplistNode **update) {
|
void zslDeleteNode(zskiplist *zsl, zskiplistNode *x, zskiplistNode **update) {
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < zsl->level; i++) {
|
for (i = 0; i < zsl->level; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user