* main - gcc: avoid warns on missing braces with older version
@ 2021-09-20 14:26 Zdenek Kabelac
0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2021-09-20 14:26 UTC (permalink / raw)
To: lvm-devel
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2e990d1fec93126017124d3db754aeed5b6c7dc3
Commit: 2e990d1fec93126017124d3db754aeed5b6c7dc3
Parent: 1a8a33ae9b39567e2a2cc399f13cebecb5fa2dea
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Mon Sep 20 16:11:49 2021 +0200
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Mon Sep 20 16:11:49 2021 +0200
gcc: avoid warns on missing braces with older version
---
libdm/libdm-stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c
index 6cfa23384..62b28b69d 100644
--- a/libdm/libdm-stats.c
+++ b/libdm/libdm-stats.c
@@ -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];
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-20 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-20 14:26 main - gcc: avoid warns on missing braces with older version Zdenek Kabelac
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.