1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

gcc: warning: missing braces around initializer

Fix warning emitted by some older gcc...
This commit is contained in:
Zdenek Kabelac 2023-09-12 16:40:26 +02:00
parent e1cfc075c2
commit e75ac1b4c0

View File

@ -6499,7 +6499,7 @@ static int _lvconvert_integrity_single(struct cmd_context *cmd,
struct logical_volume *lv,
struct processing_handle *handle)
{
struct integrity_settings settings = { 0 };
struct integrity_settings settings = { .tag_size = 0 };
int ret;
if (!integrity_mode_set(arg_str_value(cmd, raidintegritymode_ARG, NULL), &settings))