Removal example which has assignment in if condition