Removed an unused variable

This commit removes a ruby-warning

"warning: assigned but unused variable"