Skip to content

Commit 13be26a

Browse files
committed
Adjust code for PR100 to put declarations before code
1 parent ba6a5f1 commit 13be26a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pcre2_fuzzsupport.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,12 @@ for (i = 0; i < 2; i++)
148148

149149
if (code != NULL)
150150
{
151+
int j;
152+
uint32_t save_match_options = match_options;
153+
151154
#ifdef SUPPORT_JIT
152155
pcre2_jit_compile(code, PCRE2_JIT_COMPLETE);
153156
#endif
154-
int j;
155-
uint32_t save_match_options = match_options;
156157

157158
/* Create match data and context blocks only when we first need them. Set
158159
low match and depth limits to avoid wasting too much searching large

0 commit comments

Comments
 (0)