diff --git a/resize/ChangeLog b/resize/ChangeLog index 8a3fde27..a6b2ac39 100644 --- a/resize/ChangeLog +++ b/resize/ChangeLog @@ -1,5 +1,8 @@ 2005-12-29 Theodore Ts'o + * resize2fs.c (mark_table_blocks): Remove unused variables to + clean up gcc -Wall complaints. + * main.c (main): If the filesystem being resized is a regular file, truncate or expand the file to match the new filesystem size. (Addresses Debian Bug: #271607) diff --git a/resize/resize2fs.c b/resize/resize2fs.c index 695bf7b6..4eefd0d4 100644 --- a/resize/resize2fs.c +++ b/resize/resize2fs.c @@ -485,10 +485,8 @@ static errcode_t mark_table_blocks(ext2_filsys fs, blk_t block, b; unsigned int j; dgrp_t i; - unsigned long meta_bg, meta_bg_size; - int has_super; + unsigned long meta_bg_size; unsigned int old_desc_blocks; - errcode_t retval; meta_bg_size = (fs->blocksize / sizeof (struct ext2_group_desc)); block = fs->super->s_first_data_block;