aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-03-28 01:16:12 +0200
committerMarcel Raad <raad@teamviewer.com>2017-03-28 01:16:12 +0200
commit23d48c35cb67b39251d9b46b185594a61bc32256 (patch)
treec6591176664ce75386b9a25a50639cc2d98c3b30 /lib
parent068cd1ad4c2e1e7c6791cb78faf570554a32c17f (diff)
schannel: fix variable shadowing warning
No need to redeclare the variable.
Diffstat (limited to 'lib')
-rw-r--r--lib/vtls/schannel.c2
1 files changed, 1 insertions, 1 deletions
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;