1
0
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:
Zdenek Kabelac 2024-05-13 22:47:36 +02:00
parent 915267c900
commit e08e5a5a07

View File

@ -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) */