Removed useless assignment variables

I removed useless assignment variables detected with rubocop.

@drbrain Could you review this?