"vscode:/vscode.git/clone" did not exist on "b2eb48df89d8513a359faa677146d3c36e6266ab"
Commit 6ae8fb47 authored by Gengliang Wang's avatar Gengliang Wang Committed by antirez
Browse files

Removed useless "return" statements in pubsub.c

(original commit message edited)
parent bc1b2e8f
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment