summaryrefslogtreecommitdiff
path: root/mozglue/linker/XZStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mozglue/linker/XZStream.cpp')
-rw-r--r--mozglue/linker/XZStream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mozglue/linker/XZStream.cpp b/mozglue/linker/XZStream.cpp
index bd71655f52..7ddbd875ac 100644
--- a/mozglue/linker/XZStream.cpp
+++ b/mozglue/linker/XZStream.cpp
@@ -94,11 +94,11 @@ XZStream::Decode(void* aOutBuf, size_t aOutSize)
case XZ_STREAM_END:
// Stream ended, the next loop iteration should terminate.
MOZ_ASSERT(mBuffers.in_pos == mBuffers.in_size);
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
#ifdef XZ_DEC_ANY_CHECK
case XZ_UNSUPPORTED_CHECK:
// Ignore unsupported check.
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
#endif
case XZ_OK:
// Chunk decoded, proceed.
@@ -121,7 +121,7 @@ XZStream::Decode(void* aOutBuf, size_t aOutSize)
return 0;
case XZ_DATA_ERROR:
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case XZ_BUF_ERROR:
ERROR("XZ decoding: corrupt input stream");
return 0;