Pass any returned pointer from FI to check_last_error in case message is a warning