tests-clar: mark unused variables

This commit is contained in:
Michael Schubert 2012-06-22 10:13:50 +02:00
parent fb8aa9e11b
commit f7292a990c

View File

@ -28,6 +28,9 @@ static int count_branch_list_cb(const char *branch_name, git_branch_t branch_typ
{ {
int *count = (int *)payload; int *count = (int *)payload;
GIT_UNUSED(branch_type);
GIT_UNUSED(branch_name);
(*count)++; (*count)++;
return 0; return 0;
@ -83,6 +86,8 @@ static int contains_branch_list_cb(const char *branch_name, git_branch_t branch_
{ {
int pos = 0; int pos = 0;
GIT_UNUSED(branch_type);
struct expectations *exp = (struct expectations *)payload; struct expectations *exp = (struct expectations *)payload;
while (exp[pos].branch_name) while (exp[pos].branch_name)