mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-23 23:57:31 +09:00
No issue - Fix invalid neq check on assert in RegExpParser
This commit is contained in:
parent
56e636d8ec
commit
2f7f622cd4
1 changed files with 1 additions and 1 deletions
|
|
@ -1238,7 +1238,7 @@ RegExpParser<CharT>::CreateNamedCaptureAtIndex(const CharacterVector* name,
|
||||||
int index)
|
int index)
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(0 < index && index <= captures_started_);
|
MOZ_ASSERT(0 < index && index <= captures_started_);
|
||||||
MOZ_ASSERT(name !== nullptr);
|
MOZ_ASSERT(name != nullptr);
|
||||||
|
|
||||||
RegExpCapture* capture = GetCapture(index);
|
RegExpCapture* capture = GetCapture(index);
|
||||||
MOZ_ASSERT(capture->name() == nullptr);
|
MOZ_ASSERT(capture->name() == nullptr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue