The same variable was defined more than once in the same scope. I'll revert it, though, and save this for a general refactor and code style project.