From c20b82a4edbf6fd3c61cd67f25ee2dd0c144cd43 Mon Sep 17 00:00:00 2001 From: Bjorn Terelius Date: Tue, 20 Nov 2018 13:41:23 +0100 Subject: [PATCH] Remove unused variables in RtcEventAudioXStreamConfig::Copy() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: None Change-Id: I186bf14e568bbd3d6cf17731602a75d3ea9e4aed Reviewed-on: https://webrtc-review.googlesource.com/c/111464 Reviewed-by: Niels Moller Commit-Queue: Björn Terelius Cr-Commit-Position: refs/heads/master@{#25711} --- .../events/rtc_event_audio_receive_stream_config.cc | 1 - .../rtc_event_log/events/rtc_event_audio_send_stream_config.cc | 1 - 2 files changed, 2 deletions(-) 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)); }