Commit 01321890 authored by Yossi Gottlieb's avatar Yossi Gottlieb
Browse files

Fix compile warnings when BUILD_TLS=no.

parent d7f2681a
......@@ -821,6 +821,7 @@ error:
return REDIS_ERR;
#else
(void) c;
(void) err;
return REDIS_OK;
#endif
}
......
......@@ -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);
......
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