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

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