Remove unused variable to silence warnings

The modified line causes an `assigned but unused variable` warning when Ruby is called with the `-w` option (which needlessly clutters test reports).