mirror of
https://github.com/curl/curl.git
synced 2026-06-07 15:34:15 +03:00
fixed potential unused variable
lib/vtls/vtls.c:1634:51: error: unused parameter 'conn' [-Werror,-Wunused-parameter]
1634 | struct connectdata *conn)
| ^
This commit is contained in:
parent
8a51ff0670
commit
1c48966315
1 changed files with 1 additions and 0 deletions
|
|
@ -1648,6 +1648,7 @@ static CURLcode cf_ssl_create(struct Curl_cfilter **pcf,
|
|||
DEBUGASSERT(data->conn);
|
||||
|
||||
#ifdef CURL_DISABLE_HTTP
|
||||
(void)conn;
|
||||
/* We only support ALPN for HTTP so far. */
|
||||
DEBUGASSERT(!conn->bits.tls_enable_alpn);
|
||||
ctx = cf_ctx_new(data, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue