refs: use designated initializers for "struct ref_iterator_vtable"
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
32bff617c6
commit
e2f8acb6a0
@ -220,8 +220,9 @@ static int debug_ref_iterator_abort(struct ref_iterator *ref_iterator)
|
||||
}
|
||||
|
||||
static struct ref_iterator_vtable debug_ref_iterator_vtable = {
|
||||
debug_ref_iterator_advance, debug_ref_iterator_peel,
|
||||
debug_ref_iterator_abort
|
||||
.advance = debug_ref_iterator_advance,
|
||||
.peel = debug_ref_iterator_peel,
|
||||
.abort = debug_ref_iterator_abort,
|
||||
};
|
||||
|
||||
static struct ref_iterator *
|
||||
|
Reference in New Issue
Block a user