summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-11-11 14:27:03 +0100
committerMoonchild <moonchild@palemoon.org>2023-11-11 14:27:03 +0100
commit734f0957fb8bc06ae6e5105d878f1b7007ce8b5d (patch)
treedf73c5d270de365b4035aff74ef703c9f922bd30 /media
parentc789882a294d29b3e5450a972ad67c4839c75e23 (diff)
downloaduxp-734f0957fb8bc06ae6e5105d878f1b7007ce8b5d.tar.gz
Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]]
Basically a S&R. Removed the macro and adjusts IDL codegen accordingly.
Diffstat (limited to 'media')
-rw-r--r--media/mtransport/transportlayerdtls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mtransport/transportlayerdtls.cpp b/media/mtransport/transportlayerdtls.cpp
index 8522919eef..a13b8c4334 100644
--- a/media/mtransport/transportlayerdtls.cpp
+++ b/media/mtransport/transportlayerdtls.cpp
@@ -895,7 +895,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;
+ [[fallthrough]];
case PR_WOULD_BLOCK_ERROR:
MOZ_MTLOG(ML_NOTICE, LAYER_INFO << "Handshake would have blocked");
PRIntervalTime timeout;