From 1453e45ef4bf1727869b3cc70be1400c61286023 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Tue, 12 Jul 2022 09:38:23 -0700 Subject: [PATCH] remove unused variable --- lib/Perl/Tidy/VerticalAligner.pm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/lib/Perl/Tidy/VerticalAligner.pm b/lib/Perl/Tidy/VerticalAligner.pm index 3f851533..cc6b59d5 100644 --- a/lib/Perl/Tidy/VerticalAligner.pm +++ b/lib/Perl/Tidy/VerticalAligner.pm @@ -670,17 +670,10 @@ sub valign_input { # -------------------------------------------------------------------- # Collect outdentable block COMMENTS # -------------------------------------------------------------------- - my $is_blank_line = EMPTY_STRING; if ( $self->[_group_type_] eq 'COMMENT' ) { - if ( - ( - $is_block_comment - && $outdent_long_lines - && $leading_space_count == - $self->[_comment_leading_space_count_] - ) - || $is_blank_line - ) + if ( $is_block_comment + && $outdent_long_lines + && $leading_space_count == $self->[_comment_leading_space_count_] ) { # Note that for a comment group we are not storing a line -- 2.39.5