Skip to content

Commit 5dfc0a2

Browse files
committed
minor refactoring and CHANGES update
1 parent fb01ad9 commit 5dfc0a2

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
v3.x.y - YYYY-MMM-DD (to be released)
22
-------------------------------------
33

4+
- Add JIT support for PCRE2
5+
[Issue #2791 - @wfjsw, @airween, @FireBurn, @martinhsv]
46
- Support comments in ipMatchFromFile file via '#' token
57
[Issue #2554 - @tomsommer, @martinhsv]
68
- Use name package name libmaxminddb with pkg-config

src/operators/verify_cc.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,8 @@ class VerifyCC : public Operator {
3939
explicit VerifyCC(std::unique_ptr<RunTimeString> param)
4040
: Operator("VerifyCC", std::move(param)),
4141
#if WITH_PCRE2
42-
m_pc(NULL)
43-
{
44-
#if WITH_PCRE2
45-
m_pcje = PCRE2_ERROR_JIT_BADOPTION;
46-
#endif
47-
}
42+
m_pc(NULL),
43+
m_pcje(PCRE2_ERROR_JIT_BADOPTION) { }
4844
#else
4945
m_pc(NULL),
5046
m_pce(NULL) { }

0 commit comments

Comments
 (0)