Replace NOTREACHED with a break.

The old format is still used.

Bug: None
Change-Id: I2c8c9a8c7b09282ba8c375403cbee7fd7ab2d056
Reviewed-on: https://webrtc-review.googlesource.com/c/122960
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26679}
This commit is contained in:
Piotr (Peter) Slatala 2019-02-13 14:38:44 -08:00 committed by Commit Bot
parent 1290fc7086
commit da825b1b12

View File

@ -365,7 +365,8 @@ std::string RtcEventLogEncoderLegacy::Encode(const RtcEvent& event) {
case RtcEvent::Type::GenericPacketReceived:
case RtcEvent::Type::GenericPacketSent:
case RtcEvent::Type::GenericAckReceived:
RTC_NOTREACHED();
// These are unsupported in the old format.
break;
}
int event_type = static_cast<int>(event.GetType());