mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Removed useless tryObjectEncoding() call from ZRANK.
This commit is contained in:
parent
4160bf0448
commit
5254c2d3c3
1 changed files with 1 additions and 1 deletions
|
|
@ -2886,7 +2886,7 @@ void zrankGenericCommand(redisClient *c, int reverse) {
|
|||
dictEntry *de;
|
||||
double score;
|
||||
|
||||
ele = c->argv[2] = tryObjectEncoding(c->argv[2]);
|
||||
ele = c->argv[2];
|
||||
de = dictFind(zs->dict,ele);
|
||||
if (de != NULL) {
|
||||
score = *(double*)dictGetVal(de);
|
||||
|
|
|
|||
Loading…
Reference in a new issue