Fix unsequenced assignment (Bug #3191).