Bug 1235235 - Fix -Wimplicit-fallthrough warning in media/mtransport/. r=ekr

media/mtransport/transportlayerdtls.cpp:872:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
This commit is contained in:
Chris Peterson 2015-11-22 22:03:13 -08:00
parent bcbe81d63d
commit f3abb8a9e8

View File

@ -869,6 +869,7 @@ void TransportLayerDtls::Handshake() {
MOZ_MTLOG(ML_ERROR, LAYER_INFO << "Malformed DTLS message; ignoring");
// If this were TLS (and not DTLS), this would be fatal, but
// here we're required to ignore bad messages, so fall through
MOZ_FALLTHROUGH;
case PR_WOULD_BLOCK_ERROR:
MOZ_MTLOG(ML_NOTICE, LAYER_INFO << "Handshake would have blocked");
PRIntervalTime timeout;