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:
Viktor Szakats 2025-07-18 18:17:06 +02:00
parent 8a51ff0670
commit 1c48966315
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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);