diff --git a/tests-clar/refs/branches/foreach.c b/tests-clar/refs/branches/foreach.c index 60bf50bd5..6e3876e7e 100644 --- a/tests-clar/refs/branches/foreach.c +++ b/tests-clar/refs/branches/foreach.c @@ -28,6 +28,9 @@ static int count_branch_list_cb(const char *branch_name, git_branch_t branch_typ { int *count = (int *)payload; + GIT_UNUSED(branch_type); + GIT_UNUSED(branch_name); + (*count)++; return 0; @@ -83,6 +86,8 @@ static int contains_branch_list_cb(const char *branch_name, git_branch_t branch_ { int pos = 0; + GIT_UNUSED(branch_type); + struct expectations *exp = (struct expectations *)payload; while (exp[pos].branch_name)