diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-10-14 23:41:47 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-10-15 00:09:07 +0200 |
commit | 14cf579263cb9121a8f06396c6257453492e043b (patch) | |
tree | 270f5347b01e6f8aa75179ef7507a6a9108df15b | |
parent | 438408de7dc3be6daed240ec52f0e0a09ae9b2f6 (diff) | |
download | lvm2-14cf579263cb9121a8f06396c6257453492e043b.tar.gz |
gcc: archive reoder struct vars
Easier for automatic struct initialization = { 0 } without warns
from older gcc.
-rw-r--r-- | lib/format_text/archive.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/format_text/archive.c b/lib/format_text/archive.c index c9c4f2265..09a472b4c 100644 --- a/lib/format_text/archive.c +++ b/lib/format_text/archive.c @@ -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; }; |