From b3aa48c00e37e26243b613bf1a31b3c2e7d3392e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 17 May 2018 18:12:43 +0000 Subject: [PATCH] Osstest/Debian.pm: Remove a spurious `my $kernel'. This variable is not used, and is shadowed by the one which is initialised a few lines later. This produces a warning. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index b46d222..eafc6cd 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1063,7 +1063,6 @@ sub di_special_kernel ($$) { my $d_i = di_installer_path($ho); my $tp = $ho->{Tftp}{Path}; foreach my $kp (keys %{ $ho->{Flags} }) { - my $kernel; # Backwards compatibility $kp = "need-kernel-deb-wheezy-backports" if $kp eq "need-kernel-deb-armmp"; $kp =~ s/need-kernel-deb-$ho->{Suite}-// or next; -- 2.39.5