Trim unreachable return statement