Changeset 261464 in webkit for trunk/Source/JavaScriptCore/yarr/YarrPattern.cpp
- Timestamp:
- May 10, 2020, 7:36:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/yarr/YarrPattern.cpp
r259092 r261464 687 687 if (UNLIKELY(!isSafeToRecurse())) { 688 688 m_error = ErrorCode::PatternTooLarge; 689 return 0;689 return nullptr; 690 690 } 691 691 … … 706 706 707 707 if (hasError(error())) { 708 newDisjunction = 0;709 return 0;708 newDisjunction = nullptr; 709 return nullptr; 710 710 } 711 711 712 712 if (!newDisjunction) 713 return 0;713 return nullptr; 714 714 715 715 PatternDisjunction* copiedDisjunction = newDisjunction.get();
Note:
See TracChangeset
for help on using the changeset viewer.