fix "variable 'foo' set but not used" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index b4257a2..fcbdb59 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -317,7 +317,6 @@
{
FILE *fstab;
struct mntent mte;
- struct fs_info *fs;
fstab = setmntent(filename, "r");
if (!fstab) {
@@ -330,7 +329,7 @@
//bb_info_msg("CREATE[%s][%s][%s][%s][%d]", mte.mnt_fsname, mte.mnt_dir,
// mte.mnt_type, mte.mnt_opts,
// mte.mnt_passno);
- fs = create_fs_device(mte.mnt_fsname, mte.mnt_dir,
+ create_fs_device(mte.mnt_fsname, mte.mnt_dir,
mte.mnt_type, mte.mnt_opts,
mte.mnt_passno);
}