minor refactoring and CHANGES update

This commit is contained in:
Martin Vierula 2022-12-19 03:13:41 -08:00
parent fb01ad94ef
commit 5dfc0a256a
No known key found for this signature in database
GPG Key ID: F2FC4E45883BCBA4
2 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,8 @@
v3.x.y - YYYY-MMM-DD (to be released)
-------------------------------------
- Add JIT support for PCRE2
[Issue #2791 - @wfjsw, @airween, @FireBurn, @martinhsv]
- Support comments in ipMatchFromFile file via '#' token
[Issue #2554 - @tomsommer, @martinhsv]
- Use name package name libmaxminddb with pkg-config

View File

@ -39,12 +39,8 @@ class VerifyCC : public Operator {
explicit VerifyCC(std::unique_ptr<RunTimeString> param)
: Operator("VerifyCC", std::move(param)),
#if WITH_PCRE2
m_pc(NULL)
{
#if WITH_PCRE2
m_pcje = PCRE2_ERROR_JIT_BADOPTION;
#endif
}
m_pc(NULL),
m_pcje(PCRE2_ERROR_JIT_BADOPTION) { }
#else
m_pc(NULL),
m_pce(NULL) { }