1
0
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:
Zdenek Kabelac 2021-09-20 16:11:49 +02:00
parent 1a8a33ae9b
commit 2e990d1fec

View File

@ -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];