mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-05 20:35:12 +00:00
tests-clar: mark unused variables
This commit is contained in:
parent
fb8aa9e11b
commit
f7292a990c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user