[WIP] Remove an unnecessary variable

Hi

Just looking through neovim sources again.

Again saw some weird code, thought I should sent a pull request. The code looks equivalent.
Not sure what you mean. The `if` statement is still there.