From af1a9ca908aeff707fb147559f952fd77f82d60f Mon Sep 17 00:00:00 2001 From: John Safranek Date: Thu, 19 Jan 2017 20:30:38 -0800 Subject: [PATCH] Multicast 1. Squash a couple unused variable warnings. --- src/internal.c | 4 +++- src/ssl.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 72bfe1a53..7850eedf2 100755 --- a/src/internal.c +++ b/src/internal.c @@ -3726,7 +3726,9 @@ int SetSSL_CTX(WOLFSSL* ssl, WOLFSSL_CTX* ctx, int writeDup) byte newSSL; byte haveRSA = 0; byte haveMcast = 0; - (void) haveAnon; /* Squash unused var warnings */ + + (void)haveAnon; /* Squash unused var warnings */ + (void)haveMcast; if (!ssl || !ctx) return BAD_FUNC_ARG; diff --git a/src/ssl.c b/src/ssl.c index 756d0aaf0..8c0ce7585 100755 --- a/src/ssl.c +++ b/src/ssl.c @@ -8889,6 +8889,7 @@ int wolfSSL_DTLS_SetCookieSecret(WOLFSSL* ssl, #ifdef WOLFSSL_MULTICAST haveMcast = ssl->options.haveMcast; #endif + (void)haveMcast; if (ssl->options.side != WOLFSSL_SERVER_END) { WOLFSSL_ERROR(ssl->error = SIDE_ERROR);