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);