mirror of
https://github.com/curl/curl.git
synced 2026-07-28 04:03:14 +03:00
hx_download.c fix warning with schannel (or !ssl)
VS2022 compiler warning: ``` tests\client\hx_download.c(199,7): warning C4065: switch statement contains 'default' but no 'case' labels ``` https://ci.appveyor.com/project/curlorg/curl/builds/52476876/job/axqek5whkn3q69s7#L257
This commit is contained in:
parent
180a1e64ef
commit
724a090a5f
1 changed files with 3 additions and 0 deletions
|
|
@ -132,6 +132,8 @@ static int my_progress_d_cb(void *userdata,
|
|||
return 1;
|
||||
}
|
||||
|
||||
#if defined(USE_QUICHE) || defined(USE_OPENSSL) || defined(USE_WOLFSSL) || \
|
||||
defined(USE_GNUTLS) || defined(USE_MBEDTLS) || defined(USE_RUSTLS)
|
||||
if(!t->checked_ssl && dlnow > 0) {
|
||||
struct curl_tlssessioninfo *tls;
|
||||
CURLcode res;
|
||||
|
|
@ -202,6 +204,7 @@ static int my_progress_d_cb(void *userdata,
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue