Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
c0ca87dc
Commit
c0ca87dc
authored
Jun 23, 2016
by
antirez
Browse files
Minor change to conform PR #3331 to Redis code base style.
Also avoid "static" in order to have symbols during crashes.
parent
a66dd433
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
c0ca87dc
...
...
@@ -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. */
...
...
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