fix visual studio code analysis warnings

This commit is contained in:
Chris Conlon
2016-04-28 13:08:50 -06:00
parent a54b0f9d0c
commit 78e62eddd7
4 changed files with 24 additions and 12 deletions

View File

@@ -2120,6 +2120,10 @@ int wolfSSL_set_group_messages(WOLFSSL* ssl)
/* make minVersion the internal equivalent SSL version */
static int SetMinVersionHelper(byte* minVersion, int version)
{
#ifdef NO_TLS
(void)minVersion;
#endif
switch (version) {
#if defined(WOLFSSL_ALLOW_SSLV3) && !defined(NO_OLD_TLS)
case WOLFSSL_SSLV3: