remove an unused local variable