Skip to content

Commit 64395d9

Browse files
committed
ext4: initialize ret to suppress smatch warning
Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 512c15e commit 64395d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ext4/extents.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4382,7 +4382,7 @@ static int ext4_alloc_file_blocks(struct file *file, ext4_lblk_t offset,
43824382
{
43834383
struct inode *inode = file_inode(file);
43844384
handle_t *handle;
4385-
int ret, ret2 = 0, ret3 = 0;
4385+
int ret = 0, ret2 = 0, ret3 = 0;
43864386
int retries = 0;
43874387
int depth = 0;
43884388
struct ext4_map_blocks map;

0 commit comments

Comments
 (0)