Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
611283f7
Commit
611283f7
authored
May 08, 2015
by
antirez
Browse files
Sentinel: suppress warnings for not used args.
parent
3eca0752
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sentinel.c
View file @
611283f7
...
@@ -2222,6 +2222,7 @@ cleanup:
...
@@ -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) {
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment