mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-17 15:47:53 +01:00
Add return after NOT_REACHED() in eventlog unittest.
Bug: webrtc:9457 Change-Id: If4728d05d832f72871c25ddce93a72be5089be40 Reviewed-on: https://webrtc-review.googlesource.com/86122 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23763}
This commit is contained in:
parent
64b17c2aca
commit
546bdeda77
1 changed files with 4 additions and 0 deletions
|
@ -235,6 +235,8 @@ EventGenerator::NewRtcpPacketIncoming() {
|
|||
}
|
||||
default:
|
||||
RTC_NOTREACHED();
|
||||
rtc::Buffer buffer;
|
||||
return rtc::MakeUnique<RtcEventRtcpPacketIncoming>(buffer);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -254,6 +256,8 @@ EventGenerator::NewRtcpPacketOutgoing() {
|
|||
}
|
||||
default:
|
||||
RTC_NOTREACHED();
|
||||
rtc::Buffer buffer;
|
||||
return rtc::MakeUnique<RtcEventRtcpPacketOutgoing>(buffer);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue