]> git.donarmstrong.com Git - perltidy.git/commitdiff
remove needless check to simplify
authorSteve Hancock <perltidy@users.sourceforge.net>
Fri, 13 Jan 2023 19:55:49 +0000 (11:55 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Fri, 13 Jan 2023 19:55:49 +0000 (11:55 -0800)
lib/Perl/Tidy/Formatter.pm

index 0b942ff70dc3789d6780e0a0506f725296e5c256..8d5292a86eed30aecb290cbcdb17c916c3946e08 100644 (file)
@@ -15061,13 +15061,7 @@ EOM
                         && $is_assignment_or_fat_comma{$type} )
                   )
                 {
-                    my $jobp = $max_index_to_go;
-                    if (   $types_to_go[$max_index_to_go] eq 'b'
-                        && $max_index_to_go > 0 )
-                    {
-                        $jobp--;
-                    }
-                    $old_breakpoint_to_go[$jobp] = 1;
+                    $old_breakpoint_to_go[$max_index_to_go] = 1;
                 }
             }
         }