summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2020-10-31 09:07:51 +0800
committerTom Rini <[email protected]>2020-11-19 09:45:49 -0500
commit4891c4e595b48ee41b7d8062bb599d05a938ea0a (patch)
treeb2b9c37a873ded4d9facb8c2e8e39f1b523d0de3 /scripts
parent9b5546c37ab020039f06855eae28fbd56adb096b (diff)
fs: btrfs: initialize @ret to 0 to prevent uninitialized return value
In show_dir() if we hit a ROOT_ITEM, we can exit with uninitialized @ret. Fix it by initializing it to 0. Reported-by: Coverity CID 312955 Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: Marek BehĂșn <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions