diff --git a/logging/rtc_event_log/output/rtc_event_log_output_file.cc b/logging/rtc_event_log/output/rtc_event_log_output_file.cc index 2f8b81c20c..2e06a3692f 100644 --- a/logging/rtc_event_log/output/rtc_event_log_output_file.cc +++ b/logging/rtc_event_log/output/rtc_event_log_output_file.cc @@ -55,8 +55,8 @@ RtcEventLogOutputFile::RtcEventLogOutputFile(rtc::PlatformFile file, // and needs to be closed. if (!rtc::ClosePlatformFile(file)) { LOG(LS_ERROR) << "Can't close file."; - file_.reset(); } + file_.reset(); return; }