Skip to content

Commit

Permalink
Adjust code for PR100 to put declarations before code
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipHazel committed Apr 15, 2022
1 parent ba6a5f1 commit 13be26a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pcre2_fuzzsupport.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,12 @@ for (i = 0; i < 2; i++)

if (code != NULL)
{
int j;
uint32_t save_match_options = match_options;

#ifdef SUPPORT_JIT
pcre2_jit_compile(code, PCRE2_JIT_COMPLETE);
#endif
int j;
uint32_t save_match_options = match_options;

/* 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
Expand Down

0 comments on commit 13be26a

Please sign in to comment.