Fixing a warning about control reaching the end of a non-void function.