mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-07 17:27:40 +00:00
clone test: annotate unused vars
This commit is contained in:
parent
375bb2fe60
commit
0bd7740173
@ -666,8 +666,10 @@ void test_online_clone__start_with_http(void)
|
|||||||
static int called_proxy_creds;
|
static int called_proxy_creds;
|
||||||
static int proxy_creds(git_cred **out, const char *url, const char *username, unsigned int allowed, void *payload)
|
static int proxy_creds(git_cred **out, const char *url, const char *username, unsigned int allowed, void *payload)
|
||||||
{
|
{
|
||||||
GIT_UNUSED(payload);
|
GIT_UNUSED(url);
|
||||||
GIT_UNUSED(username);
|
GIT_UNUSED(username);
|
||||||
|
GIT_UNUSED(allowed);
|
||||||
|
GIT_UNUSED(payload);
|
||||||
|
|
||||||
called_proxy_creds = 1;
|
called_proxy_creds = 1;
|
||||||
return git_cred_userpass_plaintext_new(out, _remote_proxy_user, _remote_proxy_pass);
|
return git_cred_userpass_plaintext_new(out, _remote_proxy_user, _remote_proxy_pass);
|
||||||
|
Loading…
Reference in New Issue
Block a user