From f7292a990c719ea379ee1f7b5dc512963d69ad8d Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Fri, 22 Jun 2012 10:13:50 +0200 Subject: [PATCH] tests-clar: mark unused variables --- tests-clar/refs/branches/foreach.c | 5 +++++ 1 file changed, 5 insertions(+) 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)