btrfs: turn on -Wmaybe-uninitialized
authorJosef Bacik <josef@toxicpanda.com>
Fri, 16 Dec 2022 20:15:58 +0000 (15:15 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Feb 2023 16:50:33 +0000 (17:50 +0100)
commit1ec49744ba83f0429c5c706708610f7821a7b6f4
tree0d62a1cdc92b16b3f9fba84ed4d98cb028108bbc
parenta6ca692ec22bdac5ae700e82ff575a1b5141fa40
btrfs: turn on -Wmaybe-uninitialized

We had a recent bug that would have been caught by a newer compiler with
-Wmaybe-uninitialized and would have saved us a month of failing tests
that I didn't have time to investigate.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/Makefile