mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-05 17:04:15 +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;
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user