summaryrefslogtreecommitdiff
path: root/fs/squashfs/sqfs_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/squashfs/sqfs_dir.c')
-rw-r--r--fs/squashfs/sqfs_dir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/squashfs/sqfs_dir.c b/fs/squashfs/sqfs_dir.c
index 00d2891e7d..a265b98fe6 100644
--- a/fs/squashfs/sqfs_dir.c
+++ b/fs/squashfs/sqfs_dir.c
@@ -34,8 +34,7 @@ int sqfs_dir_offset(void *dir_i, u32 *m_list, int m_count)
struct squashfs_ldir_inode *ldir;
struct squashfs_dir_inode *dir;
u32 start_block;
- u16 offset;
- int j;
+ int j, offset;
switch (get_unaligned_le16(&base->inode_type)) {
case SQFS_DIR_TYPE: