summaryrefslogtreecommitdiff
path: root/js/src/jsapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsapi.cpp')
-rw-r--r--js/src/jsapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsapi.cpp b/js/src/jsapi.cpp
index 9067ca3d3d..fd815d8927 100644
--- a/js/src/jsapi.cpp
+++ b/js/src/jsapi.cpp
@@ -4320,7 +4320,7 @@ CompileFunction(JSContext* cx, const ReadOnlyCompileOptions& optionsArg,
return true;
}
-static MOZ_MUST_USE bool
+[[nodiscard]] static bool
BuildFunctionString(const char* name, size_t nameLen,
unsigned nargs, const char* const* argnames,
const SourceBufferHolder& srcBuf, StringBuffer* out,