summaryrefslogtreecommitdiff
path: root/loadbars.pl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2010-11-20 09:05:38 +0000
committerPaul Buetow <paul@buetow.org>2010-11-20 09:05:38 +0000
commite56a0a9389b8d81155a73e9fab40981e3e6778f9 (patch)
tree2d91ba38694f22f68c056f68e05b47c2c35411b6 /loadbars.pl
parentd4b296db760467f97c9f19c49eaf66564f4189c2 (diff)
removed not used variable $t_diff
Diffstat (limited to 'loadbars.pl')
-rwxr-xr-xloadbars.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/loadbars.pl b/loadbars.pl
index ff5939d..ec539d4 100755
--- a/loadbars.pl
+++ b/loadbars.pl
@@ -222,7 +222,7 @@ sub graph_stats ($$) {
}
};
- my ($t1, $t2, $t_diff) = (Time::HiRes::time(), undef, undef);
+ my ($t1, $t2) = (Time::HiRes::time(), undef);
loop {
my ($x, $y) = (0, 0);
@@ -318,7 +318,6 @@ sub graph_stats ($$) {
TIMER:
$t2 = Time::HiRes::time();
- $t_diff = $t2 - $t1;
if ($CONF{inter} > $t2 - $t1) {
usleep 10000;