Fix "control reaches end of non-void function" compiling lld on gcc.