зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1669108 - Unused MOZ_ASSERTed variable in non-DEBUG opt gcc compile r=anba
Differential Revision: https://phabricator.services.mozilla.com/D92349
This commit is contained in:
Родитель
e94c96647a
Коммит
9ff49a844a
|
@ -7,6 +7,7 @@
|
|||
#include "builtin/intl/LanguageTag.h"
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/MathAlgorithms.h"
|
||||
#include "mozilla/Span.h"
|
||||
#include "mozilla/TextUtils.h"
|
||||
|
@ -459,7 +460,7 @@ bool LanguageTag::canonicalizeUnicodeExtension(
|
|||
using Attribute = LanguageTagParser::AttributesVector::ElementType;
|
||||
using Keyword = LanguageTagParser::KeywordsVector::ElementType;
|
||||
|
||||
bool ok;
|
||||
mozilla::DebugOnly<bool> ok;
|
||||
JS_TRY_VAR_OR_RETURN_FALSE(
|
||||
cx, ok,
|
||||
LanguageTagParser::parseUnicodeExtension(
|
||||
|
@ -752,7 +753,7 @@ bool LanguageTag::canonicalizeTransformExtension(
|
|||
|
||||
using TField = LanguageTagParser::TFieldVector::ElementType;
|
||||
|
||||
bool ok;
|
||||
mozilla::DebugOnly<bool> ok;
|
||||
JS_TRY_VAR_OR_RETURN_FALSE(
|
||||
cx, ok,
|
||||
LanguageTagParser::parseTransformExtension(
|
||||
|
|
Загрузка…
Ссылка в новой задаче