Fix compilation error with Clang

No more 'control may reach end of non-void function' error