Browse Source

localmodconfig: Use my variable for loop in streamline_config.pl

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>
Bill Pemberton 13 years ago
parent
commit
45f4c81d69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/kconfig/streamline_config.pl

+ 1 - 1
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);