From cd3ddadd0a4186e2428d44dd1f8c5811611d0a3f Mon Sep 17 00:00:00 2001 From: zherczeg Date: Fri, 13 Nov 2020 08:04:06 +0000 Subject: [PATCH] Fix ARM64 compilation warning in JIT. --- ChangeLog | 2 ++ src/pcre2_jit_neon_inc.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0b39875..e3b0a4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -92,6 +92,8 @@ any Linux version will work. 18. Fixed a word boundary check bug in JIT when partial matching is enabled. +19. Fix ARM64 compilation warning in JIT. Patch by Carlo. + Version 10.35 09-May-2020 --------------------------- diff --git a/src/pcre2_jit_neon_inc.h b/src/pcre2_jit_neon_inc.h index 66373b6..150da29 100644 --- a/src/pcre2_jit_neon_inc.h +++ b/src/pcre2_jit_neon_inc.h @@ -87,6 +87,10 @@ static sljit_u8* SLJIT_FUNC FF_FUN(sljit_u8 *str_end, sljit_u8 *str_ptr, sljit_u { quad_word qw; int_char ic; + +SLJIT_UNUSED_ARG(offs1); +SLJIT_UNUSED_ARG(offs2); + ic.x = chars; #if defined(FFCS)