Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pcre2_convert: fix return value again and refactor for clarity
Since 4f6c43d (Add assertion macros, use new PCRE2_UNREACHABLE assertion at unreachable points in code (#446), 2024-08-28) and then again after 04dc664 (Implement PCRE2_UNREACHABLE assertion for MS Visual C++ (#465), 2024-09-10), this API could return random values on failure. Remove assertion, until it could be added back in a way that wouldn't trigger a crash in non debug builds or result in the function returning without an API expected value.
- Loading branch information