mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 08:30:51 +00:00
Sentinel: suppress warnings for not used args.
This commit is contained in:
parent
3eca0752a6
commit
611283f743
@ -2222,6 +2222,7 @@ cleanup:
|
||||
void sentinelReceiveHelloMessages(redisAsyncContext *c, void *reply, void *privdata) {
|
||||
sentinelRedisInstance *ri = privdata;
|
||||
redisReply *r;
|
||||
REDIS_NOTUSED(c);
|
||||
|
||||
if (!reply || !ri) return;
|
||||
r = reply;
|
||||
@ -3188,6 +3189,7 @@ void sentinelCheckObjectivelyDown(sentinelRedisInstance *master) {
|
||||
void sentinelReceiveIsMasterDownReply(redisAsyncContext *c, void *reply, void *privdata) {
|
||||
sentinelRedisInstance *ri = privdata;
|
||||
redisReply *r;
|
||||
REDIS_NOTUSED(c);
|
||||
|
||||
if (ri) ri->pending_commands--;
|
||||
if (!reply || !ri) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user