summaryrefslogtreecommitdiff
path: root/js/src/shell/js.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/shell/js.cpp')
-rw-r--r--js/src/shell/js.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/shell/js.cpp b/js/src/shell/js.cpp
index b83fa6a3d5..a90a1a7198 100644
--- a/js/src/shell/js.cpp
+++ b/js/src/shell/js.cpp
@@ -1548,7 +1548,7 @@ ConvertTranscodeResultToJSException(JSContext* cx, JS::TranscodeResult rv)
return true;
default:
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case JS::TranscodeResult_Failure:
MOZ_ASSERT(!cx->isExceptionPending());
JS_ReportErrorASCII(cx, "generic warning");