Explorar el Código

dpkg-genchanges: Remove intermediate @f variable

Guillem Jover hace 11 años
padre
commit
18e044bb6b
Se han modificado 1 ficheros con 1 adiciones y 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'} // '-';