diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-07-05 07:55:36 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-07-05 07:55:36 +0000 |
commit | 0e270041857abf23420000c8eac6089db2c62bfa (patch) | |
tree | ede5339ac13a489a5367e763995ebb325e81548a /perl-install | |
parent | 9661b71b22ea7b41b2383b0b620caf48f09c161f (diff) | |
download | drakx-backup-do-not-use-0e270041857abf23420000c8eac6089db2c62bfa.tar drakx-backup-do-not-use-0e270041857abf23420000c8eac6089db2c62bfa.tar.gz drakx-backup-do-not-use-0e270041857abf23420000c8eac6089db2c62bfa.tar.bz2 drakx-backup-do-not-use-0e270041857abf23420000c8eac6089db2c62bfa.tar.xz drakx-backup-do-not-use-0e270041857abf23420000c8eac6089db2c62bfa.zip |
remove unused variable $type
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/net_monitor | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor index c31d1006a..c8a2a3b21 100755 --- a/perl-install/standalone/net_monitor +++ b/perl-install/standalone/net_monitor @@ -407,9 +407,6 @@ sub update() { my $y = $e->y; my $received = $x >= 0 ? $monitor->{$intf}{stack_r}[$x] : 0; my $transmitted = $x >= 0 ? $monitor->{$intf}{stack_t}[$x] : 0; - my $type; - $y * $echt / $height < $transmitted and $type = N("transmitted"); - ($height - $y) * $echr / $height < $received and $type = N("received"); $measure_r->set_label(formatXiB($received)); $measure_t->set_label(formatXiB($transmitted)); }); |