linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs-progs: -Wshadow fixes
@ 2023-09-28  4:06 Qu Wenruo
  2023-09-28  4:06 ` [PATCH 1/2] btrfs-progs: remove variable e from cmd_inspect_list_chunks() Qu Wenruo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Qu Wenruo @ 2023-09-28  4:06 UTC (permalink / raw)
  To: linux-btrfs

Since -Wshadow is enabled recently, there are two new warnings:

- @e from cmd_inspect_list_chunks()
- @csum from print_header_info()
  This needs experimental features to be enabled

Just fix them all.

Qu Wenruo (2):
  btrfs-progs: remove variable e from cmd_inspect_list_chunks()
  btrfs-progs: fix a variable shadowing when enabling experimental
    features

 cmds/inspect.c             | 4 +---
 kernel-shared/print-tree.c | 4 ++--
 2 files changed, 3 insertions(+), 5 deletions(-)

--
2.42.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-02 15:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-28  4:06 [PATCH 0/2] btrfs-progs: -Wshadow fixes Qu Wenruo
2023-09-28  4:06 ` [PATCH 1/2] btrfs-progs: remove variable e from cmd_inspect_list_chunks() Qu Wenruo
2023-09-28  4:06 ` [PATCH 2/2] btrfs-progs: fix a variable shadowing when enabling experimental features Qu Wenruo
2023-10-02 15:17 ` [PATCH 0/2] btrfs-progs: -Wshadow fixes David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).