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>maint
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…
Reference in New Issue