diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-03-29 22:22:02 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-29 22:22:02 +0300 |
commit | 3d8046a820851621b8f195078fcac5b5c38fec86 (patch) | |
tree | 41af42e4a44d1b3210c6af15377f549d31d62423 /attr.c | |
parent | abf474a5dd901f28013c52155411a48fd4c09922 (diff) | |
parent | 5b8754043c9cbe47f3de35f2d196f074645d135f (diff) |
Merge branch 'ab/refs-various-fixes'
Code clean-up.
* ab/refs-various-fixes:
refs debug: add a wrapper for "read_symbolic_ref"
packed-backend: remove stub BUG(...) functions
misc *.c: use designated initializers for struct assignments
refs: use designated initializers for "struct ref_iterator_vtable"
refs: use designated initializers for "struct ref_storage_be"
Diffstat (limited to 'attr.c')
-rw-r--r-- | attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ static int attr_hash_entry_cmp(const void *unused_cmp_data, * Access to this dictionary must be surrounded with a mutex. */ static struct attr_hashmap g_attr_hashmap = { - HASHMAP_INIT(attr_hash_entry_cmp, NULL) + .map = HASHMAP_INIT(attr_hash_entry_cmp, NULL), }; /* |