richedit: Removed an unused local variable and assignments to it.