Fix ambiguity of ret: [-Wsequence-point]