Reduce the scope of some variables

Merge request reports

Loading