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:
committed by
Commit Bot
parent
22b70ff1d4
commit
c20b82a4ed
@ -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));
|
||||
}
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user