diff options
| author | Josef Bacik <[email protected]> | 2022-12-16 15:15:53 -0500 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-02-13 17:50:33 +0100 |
| commit | ab199013592abb3499b8316a800a39ab61e6719f (patch) | |
| tree | 211698eae21e599f1aa9bca922f890641dc24310 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 0e47b25cafb29338722f68e8c5a260aaf18ce92c (diff) | |
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 <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions