Achieve same effect without an extra assignment

Hi

Just looking through neovim sources again.

Again saw some weird code, thought I should sent a pull request. The code looks equivalent.