Removed an unused local variable.

This PR removes an unused (redundant) local variable declaration.