diff options
author | Gengliang Wang <ltnwgl@gmail.com> | 2013-03-05 00:47:05 +0800 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-03-06 16:49:20 +0100 |
commit | 042ed270c83d91c3dfd6f63db092f4ef8fb0c1a8 (patch) | |
tree | 1f9204ec70d9997dec1b23551eadc6990fde2ddd /src | |
parent | 7b190a08cfe9aded4c64b775fa2a2ab24b7b9405 (diff) | |
download | redis-042ed270c83d91c3dfd6f63db092f4ef8fb0c1a8.tar.gz |
Removed useless "return" statements in pubsub.c
(original commit message edited)
Diffstat (limited to 'src')
-rw-r--r-- | src/pubsub.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pubsub.c b/src/pubsub.c index 8fa33664f..524cb9c5a 100644 --- a/src/pubsub.c +++ b/src/pubsub.c @@ -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; |