Added compilation fix on ignored return value.