Fix compiler warning: multiple unsequenced modifications