Commit 0bd774017381a4d7d7e0f4550e0385992c458086

Edward Thomson 2016-04-21T11:05:21

clone test: annotate unused vars

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/tests/online/clone.c b/tests/online/clone.c
index 0fc8d42..04fd22d 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);