Fix no-return-in-nonvoid-function