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:
parent
e1cfc075c2
commit
e75ac1b4c0
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user