diff options
author | Eric Biggers <ebiggers@google.com> | 2021-06-15 21:53:33 -0700 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-07-06 23:11:35 -0400 |
commit | beb863f144328fcae7ff44c0dba2846f2ea2b625 (patch) | |
tree | 9e535f516cdf3db87d22959073b1194b73b32b96 /e2fsck/journal.c | |
parent | b5f2be81eb6df08dc28ecee6a0be857a0b539b74 (diff) | |
download | e2fsprogs-beb863f144328fcae7ff44c0dba2846f2ea2b625.tar.gz |
Fix -Wunused-variable warnings
Fix all warnings about unused variables that were introduced since
e2fsprogs v1.45.4.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'e2fsck/journal.c')
-rw-r--r-- | e2fsck/journal.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/e2fsck/journal.c b/e2fsck/journal.c index af0effce..62a965a8 100644 --- a/e2fsck/journal.c +++ b/e2fsck/journal.c @@ -445,7 +445,6 @@ static int ex_len_compar(const void *arg1, const void *arg2) static void ex_sort_and_merge(struct extent_list *list) { - blk64_t ex_end; int i, j; if (list->count < 2) @@ -493,7 +492,7 @@ static int ext4_modify_extent_list(e2fsck_t ctx, struct extent_list *list, { int ret; int i, offset; - struct ext2fs_extent add_ex = *ex, add_ex2; + struct ext2fs_extent add_ex = *ex; /* First let's create a hole from ex->e_lblk of length ex->e_len */ for (i = 0; i < list->count; i++) { @@ -641,9 +640,7 @@ static inline int tl_to_darg(struct dentry_info_args *darg, static int ext4_fc_handle_unlink(e2fsck_t ctx, struct ext4_fc_tl *tl, __u8 *val) { - struct ext2_inode inode; struct dentry_info_args darg; - ext2_filsys fs = ctx->fs; int ret; ret = tl_to_darg(&darg, tl, val); @@ -735,7 +732,6 @@ static void ext4_fc_replay_fixup_iblocks(struct ext2_inode_large *ondisk_inode, static int ext4_fc_handle_inode(e2fsck_t ctx, __u8 *val) { - struct e2fsck_fc_replay_state *state = &ctx->fc_replay_state; int ino, inode_len = EXT2_GOOD_OLD_INODE_SIZE; struct ext2_inode_large *inode = NULL, *fc_inode = NULL; __le32 fc_ino; |