Skip to content

Commit

Permalink
tracing/fastboot: fix perlcritic warning
Browse files Browse the repository at this point in the history
Impact: cleanup

Fix the following warning from the perl syntax checking tool perlcritic.
This tool is a lint like tool that checks for perl best practices.

Loop iterator is not lexical at line 113, column 1.
See page 108 of PBP.  (Severity: 5)

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
Stephen Hemminger authored and Ingo Molnar committed Nov 12, 2008
1 parent cb9382e commit 68f96c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bootgraph.pl
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
my %rows;
my $rowscount = 1;
my @initcalls = sort { $start{$a} <=> $start{$b} } keys(%start);
my $key;
foreach $key (@initcalls) {

foreach my $key (@initcalls) {
my $duration = $end{$key} - $start{$key};

if ($duration >= $threshold) {
Expand Down

0 comments on commit 68f96c0

Please sign in to comment.