From 00ad907b5bf6c5f4c444b0c1685eaf8e6a9a7f76 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Fri, 13 Jan 2023 11:55:49 -0800 Subject: [PATCH] remove needless check to simplify --- lib/Perl/Tidy/Formatter.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/Perl/Tidy/Formatter.pm b/lib/Perl/Tidy/Formatter.pm index 0b942ff7..8d5292a8 100644 --- a/lib/Perl/Tidy/Formatter.pm +++ b/lib/Perl/Tidy/Formatter.pm @@ -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; } } } -- 2.39.5