Make IAR happy by dummy-initializing an unused variable

IAR doesn't like `((void) var);` as a means to indicate an unused
variable if that variable hasn't been initialized before. Make it
happy by initializing the variable before.
This commit is contained in:
Hanno Becker 2019-07-25 09:50:25 +01:00
parent 7ba0a886bd
commit 587c1ae195

View File

@ -3399,7 +3399,7 @@ cleanup:
static int ssl_client_key_exchange_prepare( mbedtls_ssl_context *ssl )
{
int ret;
int ret = 0;
mbedtls_ssl_ciphersuite_handle_t ciphersuite_info =
mbedtls_ssl_handshake_get_ciphersuite( ssl->handshake );