]> git.donarmstrong.com Git - perltidy.git/commitdiff
remove unused variable
authorSteve Hancock <perltidy@users.sourceforge.net>
Tue, 12 Jul 2022 16:38:23 +0000 (09:38 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Tue, 12 Jul 2022 16:38:23 +0000 (09:38 -0700)
lib/Perl/Tidy/VerticalAligner.pm

index 3f851533310471c49cf3be4d632f84b7b2fa9c6c..cc6b59d583da73345f4296b1759208fccdecb108 100644 (file)
@@ -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