mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2025-01-10 10:33:32 +08:00
Clean up gcc -Wall complaints in resize2fs
Remove unused variables in mark_table_blocks() Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
fe07357f59
commit
68963d5a26
@ -1,5 +1,8 @@
|
||||
2005-12-29 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* 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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user