diff options
| author | Junio C Hamano <gitster@pobox.com> | 2021-10-11 10:21:48 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-10-11 10:21:48 -0700 |
| commit | 404c4a54624c3e0ea9066809344a6269c16de69f (patch) | |
| tree | 53e4675199a1cfafdaea4f3304564446375812ed /object.h | |
| parent | 859a585bdf9baa257c08a50895d9829171a5ad46 (diff) | |
| parent | 538835d2ac151abbe90058becfc0dc061d33302c (diff) | |
| download | git-404c4a54624c3e0ea9066809344a6269c16de69f.tar.gz | |
Merge branch 'ab/designated-initializers'
Code clean-up.
* ab/designated-initializers:
cbtree.h: define cb_init() in terms of CBTREE_INIT
*.h: move some *_INIT to designated initializers
*.h _INIT macros: don't specify fields equal to 0
*.[ch] *_INIT macros: use { 0 } for a "zero out" idiom
submodule-config.h: remove unused SUBMODULE_INIT macro
Diffstat (limited to 'object.h')
| -rw-r--r-- | object.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ struct object_array { } *objects; }; -#define OBJECT_ARRAY_INIT { 0, 0, NULL } +#define OBJECT_ARRAY_INIT { 0 } /* * object flag allocation: |
