summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-04-21 11:05:21 -0400
committerEdward Thomson <ethomson@github.com>2016-04-21 11:05:21 -0400
commit0bd774017381a4d7d7e0f4550e0385992c458086 (patch)
tree3347d96224d017765901754375193cb0aad5a34f
parent375bb2fe6036f879f4ff5c55ea55e1e2cd07857d (diff)
downloadlibgit2-0bd774017381a4d7d7e0f4550e0385992c458086.tar.gz
clone test: annotate unused vars
-rw-r--r--tests/online/clone.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/online/clone.c b/tests/online/clone.c
index 0fc8d4271..04fd22d45 100644
--- a/tests/online/clone.c
+++ b/tests/online/clone.c
@@ -666,8 +666,10 @@ void test_online_clone__start_with_http(void)
static int called_proxy_creds;
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(allowed);
+ GIT_UNUSED(payload);
called_proxy_creds = 1;
return git_cred_userpass_plaintext_new(out, _remote_proxy_user, _remote_proxy_pass);