Skip to content

Commit

Permalink
Squashfs: remove redundant length initialisation in squashfs_lookup
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Lougher <[email protected]>
  • Loading branch information
plougher committed Mar 10, 2012
1 parent 68a8c39 commit bd3a518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/squashfs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static struct dentry *squashfs_lookup(struct inode *dir, struct dentry *dentry,
struct squashfs_dir_entry *dire;
u64 block = squashfs_i(dir)->start + msblk->directory_table;
int offset = squashfs_i(dir)->offset;
int err, length = 0, dir_count, size;
int err, length, dir_count, size;

TRACE("Entered squashfs_lookup [%llx:%x]\n", block, offset);

Expand Down

0 comments on commit bd3a518

Please sign in to comment.