diff options
-rw-r--r-- | cast/sender/channel/cast_auth_util.cc | 1 | ||||
-rw-r--r-- | cast/streaming/rtcp_common.cc | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/cast/sender/channel/cast_auth_util.cc b/cast/sender/channel/cast_auth_util.cc index cb1ced69..f76a1dd8 100644 --- a/cast/sender/channel/cast_auth_util.cc +++ b/cast/sender/channel/cast_auth_util.cc @@ -140,7 +140,6 @@ Error MapToOpenscreenError(Error::Code error, bool crl_required) { return Error(Error::Code::kCastV2CertNotSignedByTrustedCa, "Failed verifying cast device certificate."); } - return Error::None(); } Error VerifyAndMapDigestAlgorithm(HashAlgorithm response_digest_algorithm, diff --git a/cast/streaming/rtcp_common.cc b/cast/streaming/rtcp_common.cc index ce1e42d9..03562c42 100644 --- a/cast/streaming/rtcp_common.cc +++ b/cast/streaming/rtcp_common.cc @@ -43,14 +43,12 @@ void RtcpCommonHeader::AppendFields(absl::Span<uint8_t>* buffer) const { break; default: OSP_NOTREACHED(); - break; } break; case RtcpPacketType::kExtendedReports: break; case RtcpPacketType::kNull: OSP_NOTREACHED(); - break; } AppendField<uint8_t>(byte0, buffer); |