Messages in this thread Patch in this message | | | Date | Mon, 01 Oct 2012 09:30:59 -0400 | From | Steven Rostedt <> | Subject | [PATCH 4/4] localmodconfig: Use my variable for loop in streamline_config.pl |
| |
From: Bill Pemberton <wfp5p@virginia.edu>
perlcritic complains about $kconfig being reused in the foreach loop at the end of read_kconfig. Change it to a my variable.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> --- scripts/kconfig/streamline_config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 22b66ca..39b6314 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl @@ -252,7 +252,7 @@ sub read_kconfig { close($kinfile); # read in any configs that were found. - foreach $kconfig (@kconfigs) { + foreach my $kconfig (@kconfigs) { if (!defined($read_kconfigs{$kconfig})) { $read_kconfigs{$kconfig} = 1; read_kconfig($kconfig); -- 1.7.10.4
[unhandled content-type:application/pgp-signature] | |