提交 c0ca87dc 编写于 作者: A antirez

Minor change to conform PR #3331 to Redis code base style.

Also avoid "static" in order to have symbols during crashes.
上级 a66dd433
......@@ -1457,9 +1457,8 @@ static void zsetKeyReset(RedisModuleKey *key)
/* Stop a sorted set iteration. */
void RM_ZsetRangeStop(RedisModuleKey *key) {
/* Free resources if needed. */
if (key->ztype == REDISMODULE_ZSET_RANGE_LEX) {
if (key->ztype == REDISMODULE_ZSET_RANGE_LEX)
zslFreeLexRange(&key->zlrs);
}
/* Setup sensible values so that misused iteration API calls when an
* iterator is not active will result into something more sensible
* than crashing. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册