Avoid shadowing outer variables in blocks
Avoid shadowing outer variables in blocks

This addresses a compiler warning being output during our tests

codeclimate/codeclimate-services,codeclimate/codeclimate-services