TS-2736: Fix build on ignored return value.