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:
Viktor Szakats 2023-11-16 12:39:01 +00:00
parent f996d4aad4
commit 4c1ef6d7bf
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

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