[RuboCop] Useless assignment to variable