mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 11:19:47 +00:00
Merge pull request #427 from schu/fix-unused-parameters
t18-status.c: fix unused warnings
This commit is contained in:
commit
5911639235
@ -154,14 +154,14 @@ BEGIN_TEST(statuscb0, "test retrieving status for worktree of repository")
|
|||||||
git_futils_rmdir_r(TEMP_REPO_FOLDER, 1);
|
git_futils_rmdir_r(TEMP_REPO_FOLDER, 1);
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
static int status_cb1(const char *path, unsigned int status_flags, void *payload)
|
static int status_cb1(const char *GIT_UNUSED(path), unsigned int GIT_UNUSED(status_flags), void *payload)
|
||||||
{
|
{
|
||||||
int *count = (int *)payload;;
|
int *count = (int *)payload;;
|
||||||
|
|
||||||
GIT_UNUSED_ARG(path);
|
GIT_UNUSED_ARG(path);
|
||||||
GIT_UNUSED_ARG(status_flags);
|
GIT_UNUSED_ARG(status_flags);
|
||||||
|
|
||||||
*count++;
|
(void) *count++;
|
||||||
|
|
||||||
return GIT_SUCCESS;
|
return GIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user