From 925e9d762c107230fe96eb0e8c2bb4dab87417fe Mon Sep 17 00:00:00 2001 From: peah Date: Mon, 10 Apr 2017 04:18:38 -0700 Subject: [PATCH] Removed workaround for the WARN_UNUSED_RESULT issue. BUG=webrtc:6018 Review-Url: https://codereview.webrtc.org/2810533003 Cr-Commit-Position: refs/heads/master@{#17615} --- webrtc/modules/audio_processing/aec3/echo_canceller3.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/webrtc/modules/audio_processing/aec3/echo_canceller3.cc b/webrtc/modules/audio_processing/aec3/echo_canceller3.cc index 7e872daaa8..4cd9c39729 100644 --- a/webrtc/modules/audio_processing/aec3/echo_canceller3.cc +++ b/webrtc/modules/audio_processing/aec3/echo_canceller3.cc @@ -195,10 +195,7 @@ void EchoCanceller3::RenderWriter::Insert(AudioBuffer* input) { render_highpass_filter_->Process(render_queue_input_frame_[0]); } - // TODO(peah): Change this two-step static cast once the CL for handling the - // bug causing this to fail in cc has landed. - bool result = render_transfer_queue_->Insert(&render_queue_input_frame_); - static_cast(result); + static_cast(render_transfer_queue_->Insert(&render_queue_input_frame_)); } int EchoCanceller3::instance_count_ = 0;