Multicast

1. Squash a couple unused variable warnings.
This commit is contained in:
John Safranek
2017-01-19 20:30:38 -08:00
parent 1657569605
commit af1a9ca908
2 changed files with 4 additions and 1 deletions

View File

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

View File

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