diff options
Diffstat (limited to 'js/xpconnect')
-rw-r--r-- | js/xpconnect/loader/mozJSComponentLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/xpconnect/loader/mozJSComponentLoader.cpp b/js/xpconnect/loader/mozJSComponentLoader.cpp index f4f3297469..f8af02ac0d 100644 --- a/js/xpconnect/loader/mozJSComponentLoader.cpp +++ b/js/xpconnect/loader/mozJSComponentLoader.cpp @@ -255,7 +255,7 @@ class MOZ_STACK_CLASS ComponentLoaderInfo { return mResolvedURI->GetSpec(*mKey); } - MOZ_MUST_USE nsresult GetLocation(nsCString& aLocation) { + [[nodiscard]] nsresult GetLocation(nsCString& aLocation) { nsresult rv = EnsureURI(); NS_ENSURE_SUCCESS(rv, rv); return mURI->GetSpec(aLocation); |