Skip to content

Commit

Permalink
regen/regen_lib.pl: Stop compile time warning
Browse files Browse the repository at this point in the history
This suppresses the warning about negative repeat counts
  • Loading branch information
khwilliamson authored and jkeenan committed Feb 28, 2024
1 parent ed37371 commit 9233950
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions regen/regen_lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ sub read_only_bottom_close_and_rename {
}

sub tab {
no warnings 'numeric';
my ($l, $t) = @_;
$t .= "\t" x ($l - (length($t) + 1) / 8);
$t;
Expand Down

0 comments on commit 9233950

Please sign in to comment.