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
5b393065
Commit
5b393065
authored
May 12, 2014
by
Wei Jin
Committed by
antirez
Aug 07, 2014
Browse files
Remove redundant else/return block
Fixes #1741
parent
9756f61f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_zset.c
View file @
5b393065
...
@@ -205,8 +205,6 @@ int zslDelete(zskiplist *zsl, double score, robj *obj) {
...
@@ -205,8 +205,6 @@ int zslDelete(zskiplist *zsl, double score, robj *obj) {
zslDeleteNode
(
zsl
,
x
,
update
);
zslDeleteNode
(
zsl
,
x
,
update
);
zslFreeNode
(
x
);
zslFreeNode
(
x
);
return
1
;
return
1
;
}
else
{
return
0
;
/* not found */
}
}
return
0
;
/* not found */
return
0
;
/* not found */
}
}
...
...
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