unused local variable

assignment to an unused local variable