diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-13 22:57:01 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-13 22:57:01 +0400 |
commit | 60a9414cad23b6e8cc6b13e37675826ed05f7709 (patch) | |
tree | 38b193f0468dd57728fe991e9eaed8abf088deeb /e2fsprogs/fsck.c | |
parent | 8dd29da2c667b6c9ae7381096320b9e31d3a50e2 (diff) |
fix "variable 'foo' set but not used" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/fsck.c')
-rw-r--r-- | e2fsprogs/fsck.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index b4257a2ad..fcbdb5989 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c @@ -317,7 +317,6 @@ static void load_fs_info(const char *filename) { FILE *fstab; struct mntent mte; - struct fs_info *fs; fstab = setmntent(filename, "r"); if (!fstab) { @@ -330,7 +329,7 @@ static void load_fs_info(const char *filename) //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); } |