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:
Viktor Szakats 2026-06-19 14:11:50 +02:00
parent 04305a3e40
commit 93e2341e87
No known key found for this signature in database

View file

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