diff --git a/programs/ssl/ssl_fork_server.c b/programs/ssl/ssl_fork_server.c index 9b3650778a..1bd18c1f19 100644 --- a/programs/ssl/ssl_fork_server.c +++ b/programs/ssl/ssl_fork_server.c @@ -357,8 +357,6 @@ int main(void) goto exit; } - exit_code = MBEDTLS_EXIT_SUCCESS; - exit: mbedtls_net_free(&client_fd); mbedtls_net_free(&listen_fd); diff --git a/programs/test/udp_proxy.c b/programs/test/udp_proxy.c index 7213f8aea0..43d2e8cf73 100644 --- a/programs/test/udp_proxy.c +++ b/programs/test/udp_proxy.c @@ -938,8 +938,6 @@ accept: } - exit_code = MBEDTLS_EXIT_SUCCESS; - exit: #ifdef MBEDTLS_ERROR_C