REFACTOR: removes useless variable assignment (PR #9666)

The initial value of newHighlightedIndex is unused, since it is always overwritten.

GitHub