Remove assignment to variables unused later