Commit 611283f7 authored by antirez's avatar antirez
Browse files

Sentinel: suppress warnings for not used args.

parent 3eca0752
......@@ -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;
......
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