From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - gcc: archive reoder struct vars
Date: Thu, 14 Oct 2021 22:09:58 +0000 (GMT) [thread overview]
Message-ID: <20211014220958.22EE23858427@sourceware.org> (raw)
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=14cf579263cb9121a8f06396c6257453492e043b
Commit: 14cf579263cb9121a8f06396c6257453492e043b
Parent: 438408de7dc3be6daed240ec52f0e0a09ae9b2f6
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Thu Oct 14 23:41:47 2021 +0200
Committer: Zdenek Kabelac <zkabelac@redhat.com>
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(-)
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;
};
reply other threads:[~2021-10-14 22:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211014220958.22EE23858427@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.