diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-01 10:38:42 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-01 11:46:40 +0200 |
commit | 0e210cc91233378db959f75535b8a8c759eb0a30 (patch) | |
tree | 8db1fe91537a1e84c05d7e5a152a10b5ab261966 /lib/sqfs/readdir.c | |
parent | 00e4e502a9ff5a60df07e54d344123347da32e80 (diff) |
Fix uninitialize return status in fstree_relabel_selinux
Should the inode table theoretically be empty, the function returns an
undefined value. This commit fixes that case by initializing the return
status to 0, so it returns success status in that case.
Bug found using scan-build.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/readdir.c')
0 files changed, 0 insertions, 0 deletions