Remove unused local variable

`value` is assigned but not referenced anywhere.
Merge pull request #2448 from tricknotes/remove-unused

Remove unused local variable