mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
worktree: mark unused parameters in each_ref_fn callback
This is similar to the cases in 63e14ee2d6
(refs: mark unused
each_ref_fn parameters, 2022-08-19), but it was added after that commit.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
d79b9f7cdb
commit
bbfc4f53b9
1 changed files with 4 additions and 4 deletions
|
@ -628,10 +628,10 @@ static void print_preparing_worktree_line(int detach,
|
||||||
*
|
*
|
||||||
* Returns 0 on failure and non-zero on success.
|
* Returns 0 on failure and non-zero on success.
|
||||||
*/
|
*/
|
||||||
static int first_valid_ref(const char *refname,
|
static int first_valid_ref(const char *refname UNUSED,
|
||||||
const struct object_id *oid,
|
const struct object_id *oid UNUSED,
|
||||||
int flags,
|
int flags UNUSED,
|
||||||
void *cb_data)
|
void *cb_data UNUSED)
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue