]> git.donarmstrong.com Git - debbugs.git/blobdiff - cgi/version.cgi
Drop unused my $vars
[debbugs.git] / cgi / version.cgi
index e3df1fc1cd2decd453e54c67681a91d07f6b61f2..ab8f3c17a287604aa8e565165c961bd5987c0889 100755 (executable)
@@ -232,7 +232,6 @@ if ($cgi_var{collapse}) {
      # nodes that can be collapsed are those that have one child
      # are in the same state as their parent, and are not in a suite
      foreach my $key (keys %reversed_nodes) {
-         my ($short_version) = $key =~ m{/(.+)$};
          if (not exists $version_to_dist{$key}
              and @{$reversed_nodes{$key}} <= 1
              and defined $version->{parent}{$key}
@@ -282,7 +281,6 @@ if ($cgi_var{collapse}) {
 }
 
 foreach my $key (keys %all_states) {
-     my ($short_version) = $key =~ m{/(.+)$};
      next if exists $collapsed_nodes{$key};
      next if $cgi_var{ignore_boring} and (not defined $all_states{$key}
                                          or $all_states{$key} eq 'absent');