Explorar o código

dpkg-genchanges: Remove intermediate @f variable

Guillem Jover %!s(int64=11) %!d(string=hai) anos
pai
achega
18e044bb6b
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      scripts/dpkg-genchanges.pl

+ 1 - 3
scripts/dpkg-genchanges.pl

@@ -427,9 +427,7 @@ for my $p (keys %p2f) {
         next;
     }
 
-    my @f = @{$p2f{$p}};
-
-    foreach my $f (@f) {
+    foreach my $f (@{$p2f{$p}}) {
 	my $file = $dist->get_file($f);
 
 	my $sec = $f2seccf{$f} || $sourcedefault{'Section'} // '-';