Skip to content

Commit 0bd7740

Browse files
author
Edward Thomson
committed
clone test: annotate unused vars
1 parent 375bb2f commit 0bd7740

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/online/clone.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,10 @@ void test_online_clone__start_with_http(void)
666666
static int called_proxy_creds;
667667
static int proxy_creds(git_cred **out, const char *url, const char *username, unsigned int allowed, void *payload)
668668
{
669-
GIT_UNUSED(payload);
669+
GIT_UNUSED(url);
670670
GIT_UNUSED(username);
671+
GIT_UNUSED(allowed);
672+
GIT_UNUSED(payload);
671673

672674
called_proxy_creds = 1;
673675
return git_cred_userpass_plaintext_new(out, _remote_proxy_user, _remote_proxy_pass);

0 commit comments

Comments
 (0)