mirror of
https://github.com/fluencelabs/redis
synced 2025-04-17 22:52:13 +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) {
|
void sentinelReceiveHelloMessages(redisAsyncContext *c, void *reply, void *privdata) {
|
||||||
sentinelRedisInstance *ri = privdata;
|
sentinelRedisInstance *ri = privdata;
|
||||||
redisReply *r;
|
redisReply *r;
|
||||||
|
REDIS_NOTUSED(c);
|
||||||
|
|
||||||
if (!reply || !ri) return;
|
if (!reply || !ri) return;
|
||||||
r = reply;
|
r = reply;
|
||||||
@ -3188,6 +3189,7 @@ void sentinelCheckObjectivelyDown(sentinelRedisInstance *master) {
|
|||||||
void sentinelReceiveIsMasterDownReply(redisAsyncContext *c, void *reply, void *privdata) {
|
void sentinelReceiveIsMasterDownReply(redisAsyncContext *c, void *reply, void *privdata) {
|
||||||
sentinelRedisInstance *ri = privdata;
|
sentinelRedisInstance *ri = privdata;
|
||||||
redisReply *r;
|
redisReply *r;
|
||||||
|
REDIS_NOTUSED(c);
|
||||||
|
|
||||||
if (ri) ri->pending_commands--;
|
if (ri) ri->pending_commands--;
|
||||||
if (!reply || !ri) return;
|
if (!reply || !ri) return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user