* gmount.c (setup_devices): Remove nfs_count - NFS directories

are not numbered.
This commit is contained in:
Pavel Roskin 2001-06-15 06:40:08 +00:00
parent 0a2a50de04
commit 814428bcc8
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-06-15 Pavel Roskin <proski@gnu.org>
* gmount.c (setup_devices): Remove nfs_count - NFS directories
are not numbered.
2001-06-14 Pavel Roskin <proski@gnu.org>
* gmain.c (try_alloc_color_pair): Remove.

View File

@ -409,7 +409,6 @@ setup_devices (void)
int hd_count;
int cdrom_count;
int generic_count;
int nfs_count;
int automounter;
list = get_mountable_devices ();
@ -466,7 +465,7 @@ setup_devices (void)
release_format = TRUE;
format = g_strdup_printf (_("NFS dir %s"), dit->mount_point);
icon = "i-nfs.png";
count = nfs_count++;
count = 0; /* unused */
} else {
format = _("Device %d");
icon = "i-blockdev.png";