Fix warn unused result in tutorial