mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
gcc: avoid warns on missing braces with older version
This commit is contained in:
parent
1a8a33ae9b
commit
2e990d1fec
@ -4519,7 +4519,7 @@ static int _stats_unmap_regions(struct dm_stats *dms, uint64_t group_id,
|
||||
struct dm_stats_region *region = NULL;
|
||||
struct dm_stats_group *group = NULL;
|
||||
uint64_t nr_kept, nr_old;
|
||||
struct _extent ext = { 0 };
|
||||
struct _extent ext = { .id = 0 };
|
||||
int64_t i;
|
||||
|
||||
group = &dms->groups[group_id];
|
||||
|
Loading…
Reference in New Issue
Block a user