diff --git a/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc b/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc index 50d67ff89c..fdef393d54 100644 --- a/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc +++ b/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc @@ -41,7 +41,6 @@ bool RtcEventAudioReceiveStreamConfig::IsConfigEvent() const { std::unique_ptr RtcEventAudioReceiveStreamConfig::Copy() const { - auto config_copy = absl::make_unique(*config_); return absl::WrapUnique( new RtcEventAudioReceiveStreamConfig(*this)); } diff --git a/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc b/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc index 240e8312af..f1a85bff69 100644 --- a/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc +++ b/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc @@ -41,7 +41,6 @@ bool RtcEventAudioSendStreamConfig::IsConfigEvent() const { std::unique_ptr RtcEventAudioSendStreamConfig::Copy() const { - auto config_copy = absl::make_unique(*config_); return absl::WrapUnique( new RtcEventAudioSendStreamConfig(*this)); }