Fix a shadowed variable declaration warning