mirror of
https://github.com/git-for-windows/git.git
synced 2025-12-14 18:43:41 -06:00
count-objects: mark unused parameter in alternates callback
Callbacks to for_each_altodb() get a void data pointer, but we don't need it here. Mark it as unused to silence -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
a8a8e75e9e
commit
506d35f13d
@ -82,7 +82,7 @@ static int count_cruft(const char *basename UNUSED, const char *path,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int print_alternate(struct object_directory *odb, void *data)
|
static int print_alternate(struct object_directory *odb, void *data UNUSED)
|
||||||
{
|
{
|
||||||
printf("alternate: ");
|
printf("alternate: ");
|
||||||
quote_c_style(odb->path, NULL, stdout, 0);
|
quote_c_style(odb->path, NULL, stdout, 0);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user