Remove assignment from if conditional.