提交 45f4c81d 编写于 作者: B Bill Pemberton 提交者: Steven Rostedt

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: NBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
上级 e0d28694
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册