Remove unused local variable

`value` is assigned but not referenced anywhere.