From: David Anderson Date: Mon, 16 Jul 2018 21:37:32 +0000 (-0700) Subject: AOSP: e2fsck: Remove unused variable. X-Git-Tag: v1.44.4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f1b0898acae207ed80fe91b346923fb01b26d3e;p=thirdparty%2Fe2fsprogs.git AOSP: e2fsck: Remove unused variable. Signed-off-by: Theodore Ts'o Bug: N/A Test: e2fsck builds Change-Id: I48e33920d8aa369808fb47143f2a46ecaa03f6c3 From AOSP commit: 4d2e95e15a4df94e556c2bfbf77b7b1d8e43b446 --- diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index 461f5fb6d..ce43821dc 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -3444,8 +3444,6 @@ static void check_blocks(e2fsck_t ctx, struct problem_context *pctx, bad_size = 2; } } else { - e2_blkcnt_t blkpg = ctx->blocks_per_page; - size = EXT2_I_SIZE(inode); if ((pb.last_init_lblock >= 0) && /* Do not allow initialized allocated blocks past i_size*/