Remove unused variables in RtcEventAudioXStreamConfig::Copy()

Bug: None
Change-Id: I186bf14e568bbd3d6cf17731602a75d3ea9e4aed
Reviewed-on: https://webrtc-review.googlesource.com/c/111464
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25711}
This commit is contained in:
Bjorn Terelius
2018-11-20 13:41:23 +01:00
committed by Commit Bot
parent 22b70ff1d4
commit c20b82a4ed
2 changed files with 0 additions and 2 deletions

View File

@ -41,7 +41,6 @@ bool RtcEventAudioReceiveStreamConfig::IsConfigEvent() const {
std::unique_ptr<RtcEventAudioReceiveStreamConfig>
RtcEventAudioReceiveStreamConfig::Copy() const {
auto config_copy = absl::make_unique<rtclog::StreamConfig>(*config_);
return absl::WrapUnique<RtcEventAudioReceiveStreamConfig>(
new RtcEventAudioReceiveStreamConfig(*this));
}

View File

@ -41,7 +41,6 @@ bool RtcEventAudioSendStreamConfig::IsConfigEvent() const {
std::unique_ptr<RtcEventAudioSendStreamConfig>
RtcEventAudioSendStreamConfig::Copy() const {
auto config_copy = absl::make_unique<rtclog::StreamConfig>(*config_);
return absl::WrapUnique<RtcEventAudioSendStreamConfig>(
new RtcEventAudioSendStreamConfig(*this));
}