spelling & removed unused var / fix impossible return
Merge pull request #3435 from eileenmcnaughton/code-tidies

spelling & removed unused var / fix impossible return