Assignment in Condition

Simplified into two lines.