Remove unused variables

It removes below ruby's warning.

* assigned but unused variable