warning: Operand with side-effects is not evaluated.