unify "control reaches end of non-void function" style
BUG=webrtc:12008 Change-Id: I1cabe99738b3968af60a305bd9593bd47f7e9b6b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/190480 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32506}
This commit is contained in:

committed by
Commit Bot

parent
18e6edd57a
commit
05f9ccdf23
@ -31,9 +31,7 @@ std::string MediaTypeToString(MediaType type) {
|
|||||||
RTC_NOTREACHED();
|
RTC_NOTREACHED();
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
FATAL();
|
RTC_CHECK(false);
|
||||||
// Not reachable; avoids compile warning.
|
|
||||||
return "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace cricket
|
} // namespace cricket
|
||||||
|
@ -140,8 +140,7 @@ RtpCapabilities PeerConnectionFactory::GetRtpSenderCapabilities(
|
|||||||
case cricket::MEDIA_TYPE_UNSUPPORTED:
|
case cricket::MEDIA_TYPE_UNSUPPORTED:
|
||||||
return RtpCapabilities();
|
return RtpCapabilities();
|
||||||
}
|
}
|
||||||
// Not reached; avoids compile warning.
|
RTC_CHECK(false);
|
||||||
FATAL();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RtpCapabilities PeerConnectionFactory::GetRtpReceiverCapabilities(
|
RtpCapabilities PeerConnectionFactory::GetRtpReceiverCapabilities(
|
||||||
@ -167,8 +166,7 @@ RtpCapabilities PeerConnectionFactory::GetRtpReceiverCapabilities(
|
|||||||
case cricket::MEDIA_TYPE_UNSUPPORTED:
|
case cricket::MEDIA_TYPE_UNSUPPORTED:
|
||||||
return RtpCapabilities();
|
return RtpCapabilities();
|
||||||
}
|
}
|
||||||
// Not reached; avoids compile warning.
|
RTC_CHECK(false);
|
||||||
FATAL();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rtc::scoped_refptr<AudioSourceInterface>
|
rtc::scoped_refptr<AudioSourceInterface>
|
||||||
|
@ -76,8 +76,7 @@ RTCErrorOr<cricket::FeedbackParam> ToCricketFeedbackParam(
|
|||||||
}
|
}
|
||||||
return cricket::FeedbackParam(cricket::kRtcpFbParamTransportCc);
|
return cricket::FeedbackParam(cricket::kRtcpFbParamTransportCc);
|
||||||
}
|
}
|
||||||
// Not reached; avoids compile warning.
|
RTC_CHECK(false);
|
||||||
FATAL();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename C>
|
template <typename C>
|
||||||
|
Reference in New Issue
Block a user