fix "variable 'foo' set but not used" warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-05-13 20:57:01 +02:00
parent 8dd29da2c6
commit 60a9414cad
9 changed files with 11 additions and 27 deletions

View File

@@ -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);
}