main - gcc: archive reoder struct vars
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=14cf579263cb9121a8f06396c6257453492e043b Commit: 14cf579263cb9121a8f06396c6257453492e043b Parent: 438408de7dc3be6daed240ec52f0e0a09ae9b2f6 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu Oct 14 23:41:47 2021 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Oct 15 00:09:07 2021 +0200
gcc: archive reoder struct vars
Easier for automatic struct initialization = { 0 } without warns from older gcc.
--- lib/format_text/archive.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
lib/format_text/archive.c +1 -2
@@ -47,9 +47,8 @@* with the least recent at the head. */ struct archive_file { -struct dm_list list; -const char *name; +struct dm_list list;uint32_t index; };