From 5cd0f5cc7fbbb4d0bf098b2eb95611eb7b987eff Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Sun, 2 Feb 2020 13:35:54 +0100 Subject: openssl: remove redundant assignment Fixes a scan-build failure on Bionic. Closes https://github.com/curl/curl/pull/4872 --- lib/vtls/openssl.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 3c4066cdc..1d09cadca 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2212,7 +2212,6 @@ set_ssl_version_min_max(SSL_CTX *ctx, struct connectdata *conn) curl_ssl_version_max = SSL_CONN_CONFIG(version_max); /* convert cURL max SSL version option to OpenSSL constant */ - ossl_ssl_version_max = 0; switch(curl_ssl_version_max) { case CURL_SSLVERSION_MAX_TLSv1_0: ossl_ssl_version_max = TLS1_VERSION; -- cgit v1.2.3