mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08: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;
|
||||
}
|
||||
|
||||
static int print_alternate(struct object_directory *odb, void *data)
|
||||
static int print_alternate(struct object_directory *odb, void *data UNUSED)
|
||||
{
|
||||
printf("alternate: ");
|
||||
quote_c_style(odb->path, NULL, stdout, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user