From 14cf579263cb9121a8f06396c6257453492e043b Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 14 Oct 2021 23:41:47 +0200 Subject: [PATCH] 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(-) 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; };