diff options
Diffstat (limited to 'cast/sender')
-rw-r--r-- | cast/sender/cast_app_discovery_service_impl.cc | 1 | ||||
-rw-r--r-- | cast/sender/channel/sender_socket_factory.cc | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cast/sender/cast_app_discovery_service_impl.cc b/cast/sender/cast_app_discovery_service_impl.cc index fd071ca2..4ca9a016 100644 --- a/cast/sender/cast_app_discovery_service_impl.cc +++ b/cast/sender/cast_app_discovery_service_impl.cc @@ -174,7 +174,6 @@ bool CastAppDiscoveryServiceImpl::ShouldRefreshAppAvailability( } OSP_NOTREACHED(); - return false; } void CastAppDiscoveryServiceImpl::RemoveAvailabilityCallback(uint32_t id) { diff --git a/cast/sender/channel/sender_socket_factory.cc b/cast/sender/channel/sender_socket_factory.cc index a1f24ef0..e971976b 100644 --- a/cast/sender/channel/sender_socket_factory.cc +++ b/cast/sender/channel/sender_socket_factory.cc @@ -59,7 +59,8 @@ void SenderSocketFactory::OnAccepted( TlsConnectionFactory* factory, std::vector<uint8_t> der_x509_peer_cert, std::unique_ptr<TlsConnection> connection) { - OSP_NOTREACHED() << "This factory is connect-only."; + OSP_NOTREACHED(); + OSP_LOG_FATAL << "This factory is connect-only"; } void SenderSocketFactory::OnConnected( |