mirror of
https://github.com/curl/curl.git
synced 2026-07-08 23:17:16 +03:00
vquic: fix -Wunused-parameter with proxies disabled
Fixing:
```
lib/vquic/vquic.c:864:56: error: unused parameter 'conn' [-Werror,-Wunused-parameter]
864 | const struct connectdata *conn,
| ^
```
Closes #22104
This commit is contained in:
parent
04305a3e40
commit
93e2341e87
1 changed files with 2 additions and 0 deletions
|
|
@ -877,6 +877,8 @@ CURLcode Curl_conn_may_http3(struct Curl_easy *data,
|
|||
failf(data, "HTTP/3 is not supported over a SOCKS proxy");
|
||||
return CURLE_URL_MALFORMAT;
|
||||
}
|
||||
#else
|
||||
(void)conn;
|
||||
#endif
|
||||
|
||||
return CURLE_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue