From dc2547d55c5802bfcb14b0e01754e033706b6b5c Mon Sep 17 00:00:00 2001 From: Addison Crump Date: Thu, 9 Nov 2023 18:20:14 +0100 Subject: [PATCH] fixup: if jit support is not provided, do not create unused variables --- src/pcre2_fuzzsupport.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pcre2_fuzzsupport.c b/src/pcre2_fuzzsupport.c index caa0e9caa..f487c0258 100644 --- a/src/pcre2_fuzzsupport.c +++ b/src/pcre2_fuzzsupport.c @@ -99,8 +99,11 @@ likewise do the match with and without the options. */ for (i = 0; i < 2; i++) { uint32_t callout_count; - int errorcode, errorcode_jit; + int errorcode; +#ifdef SUPPORT_JIT + int errorcode_jit; uint32_t ovector_count; +#endif PCRE2_SIZE erroroffset; pcre2_code *code;