From 34f00a38682b4927a9b9ee01859b80541f2f3336 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 4 Aug 2017 14:56:59 +1200 Subject: Remove unneeded loop labels --- checkem | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'checkem') diff --git a/checkem b/checkem index be91194..9bb708c 100755 --- a/checkem +++ b/checkem @@ -67,18 +67,18 @@ find { # If there's more than one filename of any of the sizes, look for hard links, # checksum them if not linked, and push them into a sums table my ( %sums, $dig ); -FS: for my $fs ( grep { @{$_} > 1 } values %sizes ) { +for my $fs ( grep { @{$_} > 1 } values %sizes ) { # Keep a temporary table of inodes to catch hard links my %inos; # Iterate through each file in the list - F: for my $f ( @{$fs} ) { + for my $f ( @{$fs} ) { # Catch hard links on compliant systems by keeping a dev/inode hash my ( $dev, $ino ) = @{ $f->{st} }{qw(dev ino)}; if ( $dev && $ino ) { - next F if exists $inos{$dev}{$ino}; + next if exists $inos{$dev}{$ino}; $inos{$dev}{$ino} = $f; } -- cgit v1.2.3