mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Remove reference to un-used variable
This commit is contained in:
@@ -10,7 +10,7 @@ require './mount-lib.pl';
|
||||
@mounted = &list_mounted();
|
||||
$yes = $text{'yes'};
|
||||
$no = "<font color=#ff0000>$text{'no'}</a>";
|
||||
foreach (&list_fstypes()) { $can_edit{$_}++; }
|
||||
%can_edit = map { $_, 1 } &list_fstypes();
|
||||
$i = 0;
|
||||
foreach $m (&list_mounts()) {
|
||||
$m->[0] = "swap" if ($m->[2] eq "swap");
|
||||
@@ -36,7 +36,6 @@ elsif ($config{'sort_mode'} == 1) {
|
||||
foreach $m (@all) {
|
||||
@minfo = @$m;
|
||||
$p = &simplify_mount_path($minfo[0], $minfo[2]);
|
||||
next if ($ignore{$minfo[2]});
|
||||
@mmodes = &mount_modes($minfo[2], $minfo[0], $minfo[1]);
|
||||
$canedit = $can_edit{$minfo[2]} && !$mmodes[4] &&
|
||||
&can_edit_fs(@minfo);
|
||||
|
||||
Reference in New Issue
Block a user