]> git.donarmstrong.com Git - perltidy.git/commitdiff
remove unused vars
authorSteve Hancock <perltidy@users.sourceforge.net>
Sun, 1 May 2022 00:44:57 +0000 (17:44 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sun, 1 May 2022 00:44:57 +0000 (17:44 -0700)
lib/Perl/Tidy/Formatter.pm
lib/Perl/Tidy/VerticalAligner.pm

index 62bb761faf7e86ef19856d32961ab9078eefdb69..cd0dba84582dd78b65034b2a88c38c53dff89e10 100644 (file)
@@ -5983,7 +5983,6 @@ my %is_wit;
 my %is_sigil;
 my %is_nonlist_keyword;
 my %is_nonlist_type;
-my %is_special_check_type;
 my %is_s_y_m_slash;
 my %is_unexpected_equals;
 
@@ -22756,7 +22755,6 @@ EOM
         my $last_vertical_alignment_BEFORE_index;
         my $vert_last_nonblank_type;
         my $vert_last_nonblank_token;
-        my $vert_last_nonblank_block_type;
 
         foreach my $line ( 0 .. $max_line ) {
 
index 2a9e7cf99bf3fbf2f24286c4e3d3dd3d766a08f5..3ecfd0f760d2f7449e474d1de24804dbd8fe16d7 100644 (file)
@@ -2583,7 +2583,6 @@ EOM
 
         my @equals_info;
         my @line_info;
-        my %is_good_tok;
 
         # create a hash of tokens for each line
         my $rline_hashes = [];
@@ -3458,7 +3457,6 @@ sub get_line_token_info {
         my ( $lev_min, $lev_max );
         my $token_pattern_max = "";
         my %saw_level;
-        my @token_info;
         my $is_monotonic = 1;
 
         # find the index of the last token before the side comment
@@ -3855,9 +3853,10 @@ sub prune_alignment_tree {
     #  $level_keep is the minimum level to keep
     my @delete_list;
 
+    # Not currently used:
     #  Groups with ending comma lists and their range of sizes:
     #  $ragged_comma_group{$id} = [ imax_group_min, imax_group_max ]
-    my %ragged_comma_group;
+    ## my %ragged_comma_group;
 
     # Define a threshold line count for forcing a break
     my $nlines_break = 3;