]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Remove unused variable from add_mtab
authorNeil Brown <neilb@suse.de>
Tue, 13 Mar 2007 01:44:22 +0000 (12:44 +1100)
committerNeil Brown <neilb@suse.de>
Tue, 13 Mar 2007 01:44:22 +0000 (12:44 +1100)
utils/mount/mount.c

index 5e0e599578a9cad26ea12916e6c49e0c3bb99f0f..7d71e06f20d1b81baf803a4ea6ea275e20a807a1 100644 (file)
@@ -139,7 +139,6 @@ static char * fix_opts_string (int flags, const char *extra_opts) {
 int add_mtab(char *fsname, char *mount_point, char *fstype, int flags, char *opts, int freq, int passno)
 {
        struct mntent ment;
-       int fd;
        FILE *mtab;
 
        ment.mnt_fsname = fsname;