Remove unneeded setting of ret from ssl programs

Remove coverity warnings on unused values.

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2023-09-15 17:39:08 +01:00
parent 170be457bd
commit fd3360ebf4
3 changed files with 0 additions and 3 deletions

View file

@ -294,7 +294,6 @@ send_request:
case MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY:
mbedtls_printf(" connection was closed gracefully\n");
ret = 0;
goto close_notify;
default:

View file

@ -331,7 +331,6 @@ reset:
case MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY:
printf(" connection was closed gracefully\n");
ret = 0;
goto close_notify;
default:

View file

@ -3781,7 +3781,6 @@ data_exchange:
switch (ret) {
case MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY:
mbedtls_printf(" connection was closed gracefully\n");
ret = 0;
goto close_notify;
default: