Skip to content

Commit 8e513c5

Browse files
author
Scott Baker
committed
Perl critic complained this sub didn't return.
Sub operates pass-by-reference so it doesn't matter, but I'll fix it anyway
1 parent e6784e6 commit 8e513c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/header_clean/header_clean.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,6 @@ sub strip_empty_first_line {
112112
if (defined($array->[0]) && $array->[0] =~ /^\s*$/) {
113113
shift(@$array); # Throw away the first line
114114
}
115+
116+
return 1;
115117
}

0 commit comments

Comments
 (0)