From 8c7c96d27d3849004b8d6cd7a6f6829209f4ac75 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Mon, 23 Nov 2020 16:15:51 -0800 Subject: [PATCH] fixes suggested by perlcritic --- lib/Perl/Tidy/Formatter.pm | 1 + lib/Perl/Tidy/VerticalAligner.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Perl/Tidy/Formatter.pm b/lib/Perl/Tidy/Formatter.pm index db551282..454037fd 100644 --- a/lib/Perl/Tidy/Formatter.pm +++ b/lib/Perl/Tidy/Formatter.pm @@ -1637,6 +1637,7 @@ $msg2 Only the last will be used. EOM } + return; } sub initialize_whitespace_hashes { diff --git a/lib/Perl/Tidy/VerticalAligner.pm b/lib/Perl/Tidy/VerticalAligner.pm index faac580f..978d5fbc 100644 --- a/lib/Perl/Tidy/VerticalAligner.pm +++ b/lib/Perl/Tidy/VerticalAligner.pm @@ -4072,7 +4072,7 @@ sub get_output_line_number { $cached_line_text = ""; $cached_line_text_length = 0; $cached_seqno_string = ""; - $cached_line_Kend = undef,; + $cached_line_Kend = undef; } return; } -- 2.39.5