Skip to content

Commit 50d3394

Browse files
authored
fixup: if jit support is not provided, do not create unused variables (#320)
1 parent bec9bf3 commit 50d3394

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pcre2_fuzzsupport.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,11 @@ likewise do the match with and without the options. */
9999
for (i = 0; i < 2; i++)
100100
{
101101
uint32_t callout_count;
102-
int errorcode, errorcode_jit;
102+
int errorcode;
103+
#ifdef SUPPORT_JIT
104+
int errorcode_jit;
103105
uint32_t ovector_count;
106+
#endif
104107
PCRE2_SIZE erroroffset;
105108
pcre2_code *code;
106109

0 commit comments

Comments
 (0)