Fix warn unused result

Reviewer: @rlane