mirror of
https://github.com/curl/curl.git
synced 2026-05-30 08:17:30 +03:00
http: fix -Wunused-parameter with no auth and no proxy
```
lib/http.c:734:26: warning: unused parameter 'proxy' [-Wunused-parameter]
bool proxy)
^
```
Reviewed-by: Marcel Raad
Closes #12338
This commit is contained in:
parent
f996d4aad4
commit
4c1ef6d7bf
1 changed files with 1 additions and 0 deletions
|
|
@ -836,6 +836,7 @@ output_auth_headers(struct Curl_easy *data,
|
|||
(data->state.aptr.user ?
|
||||
data->state.aptr.user : ""));
|
||||
#else
|
||||
(void)proxy;
|
||||
infof(data, "Server auth using %s with user '%s'",
|
||||
auth, data->state.aptr.user ?
|
||||
data->state.aptr.user : "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue