Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 35bc1e35279523a59fee1761d7505ff5c04638c0
https://github.com/Perl/perl5/commit/35bc1e35279523a59fee1761d7505ff5c04638c0
Author: James E Keenan <[email protected]>
Date: 2019-11-12 (Tue, 12 Nov 2019)
Changed paths:
M hv.c
M mg.c
M mro_core.c
M sv.c
M toke.c
M utf8.c
M util.c
Log Message:
-----------
Fix: local variable hiding parameter of same name
LGTM provides static code analysis and recommendations for code quality
improvements. Their recent run over the Perl 5 core distribution
identified 12 instances where a local variable hid a parameter of
the same name in an outer scope. The LGTM rule governing this situation
can be found here:
Per: https://lgtm.com/rules/2156240606/
This patch renames local variables in approximately 8 of those instances
to comply with the LGTM recommendation. Suggestions for renamed
variables were made by Tony Cook.
For: https://github.com/Perl/perl5/pull/17281