mirror of https://github.com/vitalif/e2fsprogs
debugfs: fix two warning messages when compiling with LLVM
This commit fixes two warning messages when compiling with LLVM. Reported-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Lukas Czerner <lczerner@redhat.com>crypto
parent
bbccc6f3c6
commit
ab74c09071
|
@ -152,7 +152,7 @@ void do_lsdel(int argc, char **argv)
|
|||
goto next;
|
||||
}
|
||||
}
|
||||
if (lsd.free_blocks && !lsd.bad_blocks ||
|
||||
if ((lsd.free_blocks && !lsd.bad_blocks) ||
|
||||
inode.i_flags & EXT4_INLINE_DATA_FL) {
|
||||
if (num_delarray >= max_delarray) {
|
||||
max_delarray += 50;
|
||||
|
|
|
@ -281,10 +281,9 @@ static errcode_t ext2fs_inline_data_convert_dir(ext2_filsys fs, ext2_ino_t ino,
|
|||
struct ext2_dir_entry *dir, *dir2;
|
||||
struct ext2_dir_entry_tail *t;
|
||||
errcode_t retval;
|
||||
unsigned int offset;
|
||||
unsigned int offset, rec_len;
|
||||
int csum_size = 0;
|
||||
int filetype = 0;
|
||||
unsigned rec_len;
|
||||
|
||||
if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super,
|
||||
EXT4_FEATURE_RO_COMPAT_METADATA_CSUM))
|
||||
|
|
Loading…
Reference in New Issue