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
6ae8fb47
Commit
6ae8fb47
authored
Mar 05, 2013
by
Gengliang Wang
Committed by
antirez
Mar 06, 2013
Browse files
Removed useless "return" statements in pubsub.c
(original commit message edited)
parent
bc1b2e8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pubsub.c
View file @
6ae8fb47
...
...
@@ -278,7 +278,6 @@ void subscribeCommand(redisClient *c) {
void
unsubscribeCommand
(
redisClient
*
c
)
{
if
(
c
->
argc
==
1
)
{
pubsubUnsubscribeAllChannels
(
c
,
1
);
return
;
}
else
{
int
j
;
...
...
@@ -297,7 +296,6 @@ void psubscribeCommand(redisClient *c) {
void
punsubscribeCommand
(
redisClient
*
c
)
{
if
(
c
->
argc
==
1
)
{
pubsubUnsubscribeAllPatterns
(
c
,
1
);
return
;
}
else
{
int
j
;
...
...
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