mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Removed useless "return" statements in pubsub.c
(original commit message edited)
This commit is contained in:
parent
7b190a08cf
commit
042ed270c8
@ -278,7 +278,6 @@ void subscribeCommand(redisClient *c) {
|
|||||||
void unsubscribeCommand(redisClient *c) {
|
void unsubscribeCommand(redisClient *c) {
|
||||||
if (c->argc == 1) {
|
if (c->argc == 1) {
|
||||||
pubsubUnsubscribeAllChannels(c,1);
|
pubsubUnsubscribeAllChannels(c,1);
|
||||||
return;
|
|
||||||
} else {
|
} else {
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
@ -297,7 +296,6 @@ void psubscribeCommand(redisClient *c) {
|
|||||||
void punsubscribeCommand(redisClient *c) {
|
void punsubscribeCommand(redisClient *c) {
|
||||||
if (c->argc == 1) {
|
if (c->argc == 1) {
|
||||||
pubsubUnsubscribeAllPatterns(c,1);
|
pubsubUnsubscribeAllPatterns(c,1);
|
||||||
return;
|
|
||||||
} else {
|
} else {
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user