diff options
| author | Josef Bacik <[email protected]> | 2022-12-16 15:15:55 -0500 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-02-13 17:50:33 +0100 |
| commit | 598643250c47c2a2e2339f25e2be36165eb229a9 (patch) | |
| tree | b88fb7f8f0cd1fe8922d705b42b59000785800e7 /tools/perf/scripts/python | |
| parent | efbf35a102b20246cfe4409c6ae92e72ecb67ab8 (diff) | |
btrfs: fix uninitialized variable warnings in __set_extent_bit and convert_extent_bit
We will pass in the parent and p pointer into our tree_search function
to avoid doing a second search when inserting a new extent state into
the tree. However because this is conditional upon passing in these
pointers the compiler seems to think these values can be uninitialized
if we're using -Wmaybe-uninitialized. Fix this by initializing these
values.
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')
0 files changed, 0 insertions, 0 deletions