mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
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:
parent
bcbe81d63d
commit
f3abb8a9e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user