summaryrefslogtreecommitdiff
path: root/dom/plugins/base/nsNPAPIPlugin.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-11-12 20:30:17 +0000
committerMoonchild <moonchild@palemoon.org>2023-11-12 20:30:17 +0000
commitdb4ddc5f6855fdd89cf2af9090f78fb7ebb7f032 (patch)
tree8036ebc434967a0cde3de705a16faea54d117bfd /dom/plugins/base/nsNPAPIPlugin.cpp
parentc789882a294d29b3e5450a972ad67c4839c75e23 (diff)
parent9c75c8235e13e0f8309b11fa138253350bce0dd5 (diff)
downloaduxp-db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032.tar.gz
Merge pull request 'Replace MOZ_FALLTHROUGH with [[fallthrough]]' (#2379) from 2343-fallthrough-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2379
Diffstat (limited to 'dom/plugins/base/nsNPAPIPlugin.cpp')
-rw-r--r--dom/plugins/base/nsNPAPIPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/plugins/base/nsNPAPIPlugin.cpp b/dom/plugins/base/nsNPAPIPlugin.cpp
index 4b02440e20..aac2261196 100644
--- a/dom/plugins/base/nsNPAPIPlugin.cpp
+++ b/dom/plugins/base/nsNPAPIPlugin.cpp
@@ -2022,7 +2022,7 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
// old XPCOM objects, no longer supported, but null out the out
// param to avoid crashing plugins that still try to use this.
*(nsISupports**)result = nullptr;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
default:
NPN_PLUGIN_LOG(PLUGIN_LOG_NORMAL, ("NPN_getvalue unhandled get value: %d\n", variable));