Squash unused_result warning in simpleapi example