The sparse checker treats 0 assignments as special, but doesn't catch a = b = 0; separate them to make it quieter. Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> --- lib/ext2fs/extent.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ext2fs/extent.c b/lib/ext2fs/extent.c index c9ef701..ca5b78b 100644 --- a/lib/ext2fs/extent.c +++ b/lib/ext2fs/extent.c @@ -1651,8 +1651,10 @@ errcode_t ext2fs_extent_delete(ext2_extent_handle_t handle, int flags) } else { eh = (struct ext3_extent_header *) path->buf; eh->eh_entries = ext2fs_cpu_to_le16(path->entries); - if ((path->entries == 0) && (handle->level == 0)) - eh->eh_depth = handle->max_depth = 0; + if ((path->entries == 0) && (handle->level == 0)) { + eh->eh_depth = 0; + handle->max_depth = 0; + } retval = update_path(handle); } return retval; -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html