History

ext4: initialize ret to suppress smatch warning

Theodore Ts'o committed 5 years ago

Commit 64395d91 parent 512c15e1 file · +1 −1Browse files

Unified · Split

fs/ext4/extents.c+1−1
@@ -4382,7 +4382,7 @@ static int ext4_alloc_file_blocks(struct file *file, ext4_lblk_t offset, · 4381 unmodified lines
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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t