The function was declared with a RETURNING clause that specified other than VOID, but no RETURN statement occurs in the body of the function.