summaryrefslogtreecommitdiff
path: root/checkov.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-05-03 17:32:15 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-05-03 17:32:15 -0700
commit28eecd8965aedbd75727fb0797a2e7033d5c54ee (patch)
tree1cac9ffc5f7fe7fd82d59b4accd7b8cf85762f74 /checkov.pl
parentf8c463722022008c8412a69f90576d2bf38818ed (diff)
downloadsyslinux-28eecd8965aedbd75727fb0797a2e7033d5c54ee.tar.gz
Across-the-board stealth whitespace cleanup
Diffstat (limited to 'checkov.pl')
-rw-r--r--checkov.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/checkov.pl b/checkov.pl
index b9ebf7be..c7f018c8 100644
--- a/checkov.pl
+++ b/checkov.pl
@@ -12,7 +12,7 @@
sub overlap($$$$) {
my($s1,$e1,$s2,$e2) = @_;
-
+
return 1 if ( $s2 < $e1 && $e2 > $s1 );
return 1 if ( $s1 < $e2 && $e1 > $s2 );
@@ -56,12 +56,12 @@ foreach $s ( keys(%start) ) {
foreach $o ( keys(%start) ) {
next if ( $s ge $o );
-
+
$ostart = $start{$o};
$ovstart = $vstart{$o};
$oend = $ostart + $length{$o};
$ovend = $ovstart + $length{$o};
-
+
if ( overlap($sstart, $send, $ostart, $oend) ||
overlap($svstart, $svend, $ostart, $oend) ||
overlap($sstart, $send, $ovstart, $ovend) ||