From 23d48c35cb67b39251d9b46b185594a61bc32256 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Tue, 28 Mar 2017 01:16:12 +0200 Subject: schannel: fix variable shadowing warning No need to redeclare the variable. --- lib/vtls/schannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index 47356a53d..0f59d9c4d 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -255,7 +255,7 @@ schannel_connect_step1(struct connectdata *conn, int sockindex) case CURL_SSLVERSION_TLSv1_2: case CURL_SSLVERSION_TLSv1_3: { - CURLcode result = set_ssl_version_min_max(&schannel_cred, conn); + result = set_ssl_version_min_max(&schannel_cred, conn); if(result != CURLE_OK) return result; break; -- cgit v1.2.3