mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
gcc: better initilizer for older gcc compilers
So use { { } }.
This commit is contained in:
parent
915267c900
commit
e08e5a5a07
@ -128,7 +128,7 @@ const struct lv_type *get_lv_type(int lvt_enum)
|
|||||||
|
|
||||||
#endif /* MAN_PAGE_GENERATOR */
|
#endif /* MAN_PAGE_GENERATOR */
|
||||||
|
|
||||||
struct command_name_args command_names_args[LVM_COMMAND_COUNT] = { 0 };
|
struct command_name_args command_names_args[LVM_COMMAND_COUNT] = { { 0 } };
|
||||||
|
|
||||||
/* array of pointers into opt_names[] that is sorted alphabetically (by long opt name) */
|
/* array of pointers into opt_names[] that is sorted alphabetically (by long opt name) */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user