Removing warning: shadowing outer local variable 
Merge pull request #9004 from arunagw/warning_removed_shadowing_outer

Removing warning: shadowing outer local variable