Fixed "missing return value" warning.