Remove error from function return that was ignored