Adjust code for PR100 to put declarations before code
This commit is contained in:
parent
ba6a5f16d2
commit
13be26a5c2
|
@ -148,11 +148,12 @@ for (i = 0; i < 2; i++)
|
||||||
|
|
||||||
if (code != NULL)
|
if (code != NULL)
|
||||||
{
|
{
|
||||||
|
int j;
|
||||||
|
uint32_t save_match_options = match_options;
|
||||||
|
|
||||||
#ifdef SUPPORT_JIT
|
#ifdef SUPPORT_JIT
|
||||||
pcre2_jit_compile(code, PCRE2_JIT_COMPLETE);
|
pcre2_jit_compile(code, PCRE2_JIT_COMPLETE);
|
||||||
#endif
|
#endif
|
||||||
int j;
|
|
||||||
uint32_t save_match_options = match_options;
|
|
||||||
|
|
||||||
/* Create match data and context blocks only when we first need them. Set
|
/* Create match data and context blocks only when we first need them. Set
|
||||||
low match and depth limits to avoid wasting too much searching large
|
low match and depth limits to avoid wasting too much searching large
|
||||||
|
|
Loading…
Reference in New Issue