diff --git a/src/redis-cli.c b/src/redis-cli.c index 01211ee24..417f1b1a9 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -821,6 +821,7 @@ error: return REDIS_ERR; #else (void) c; + (void) err; return REDIS_OK; #endif } diff --git a/src/sentinel.c b/src/sentinel.c index 92869805d..0490db4e9 100644 --- a/src/sentinel.c +++ b/src/sentinel.c @@ -2005,7 +2005,7 @@ void sentinelSetClientName(sentinelRedisInstance *ri, redisAsyncContext *c, char static int instanceLinkNegotiateTLS(redisAsyncContext *context) { #ifndef USE_OPENSSL - (void) link; + (void) context; #else if (!redis_tls_ctx) return C_ERR; SSL *ssl = SSL_new(redis_tls_ctx);