diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2022-12-16 15:15:53 -0500 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-02-13 17:50:33 +0100 |
| commit | ab199013592abb3499b8316a800a39ab61e6719f (patch) | |
| tree | 211698eae21e599f1aa9bca922f890641dc24310 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | btrfs: fix uninitialized variable warning in btrfs_cleanup_ordered_extents (diff) | |
| download | linux-ab199013592abb3499b8316a800a39ab61e6719f.tar.gz linux-ab199013592abb3499b8316a800a39ab61e6719f.zip | |
btrfs: fix uninitialized variable warning in get_inode_gen
Anybody that calls get_inode_gen() can have an uninitialized gen if
there's an error. This isn't a big deal because all the users just exit
if they get an error, however it makes -Wmaybe-uninitialized complain,
so fix this up to always initialize the passed in gen, this quiets all
of the uninitialized warnings in send.c.
Reviewed-by: Qu Wenruo <wqu@suse.com>
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
