summaryrefslogtreecommitdiffstats
path: root/attr.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-03-29 21:22:02 +0200
committerJunio C Hamano <gitster@pobox.com>2022-03-29 21:22:02 +0200
commit3d8046a820851621b8f195078fcac5b5c38fec86 (patch)
tree41af42e4a44d1b3210c6af15377f549d31d62423 /attr.c
parentThe 15th batch (diff)
parentrefs debug: add a wrapper for "read_symbolic_ref" (diff)
downloadgit-3d8046a820851621b8f195078fcac5b5c38fec86.tar.xz
git-3d8046a820851621b8f195078fcac5b5c38fec86.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attr.c b/attr.c
index 1626cade8b..21e4ad25ad 100644
--- a/attr.c
+++ b/attr.c
@@ -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),
};
/*