warning: operation on 'ret' may be undefined [-Wsequence-point]

Signed-off-by: EvolutionMod <kernelcraft@gmail.com>