style cleanup: return(a) -> return a, part 2
This commit is contained in:
@@ -112,7 +112,7 @@ int ext2fs_super_and_bgd_loc(ext2_filsys fs,
|
||||
*ret_new_desc_blk = new_desc_blk;
|
||||
if (ret_meta_bg)
|
||||
*ret_meta_bg = meta_bg;
|
||||
return (numblocks);
|
||||
return numblocks;
|
||||
}
|
||||
|
||||
|
||||
|
@@ -103,7 +103,7 @@ errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block,
|
||||
if ((dirent->rec_len < 8) ||
|
||||
(dirent->rec_len % 4)) {
|
||||
ext2fs_free_mem(&buf);
|
||||
return (EXT2_ET_DIR_CORRUPTED);
|
||||
return EXT2_ET_DIR_CORRUPTED;
|
||||
}
|
||||
p += dirent->rec_len;
|
||||
if (do_swap) {
|
||||
|
@@ -324,7 +324,7 @@ errcode_t ext2fs_image_bitmap_write(ext2_filsys fs, int fd, int flags)
|
||||
}
|
||||
retval = 0;
|
||||
errout:
|
||||
return (retval);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
@@ -373,5 +373,5 @@ errcode_t ext2fs_image_bitmap_read(ext2_filsys fs, int fd, int flags)
|
||||
retval = 0;
|
||||
errout:
|
||||
free(buf);
|
||||
return (retval);
|
||||
return retval;
|
||||
}
|
||||
|
Reference in New Issue
Block a user