summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;