[Privoxy-commits] [privoxy] 27/38: compile_pattern(): Prevent unused-variable warning when compiling with DISABLE_PCRE_JIT_COMPILATION defined

User Git git at git.privoxy.org
Thu Apr 9 09:37:25 CEST 2026


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit ff10ad598fb5ddfdec22c36e2c6b64f0b25f699c
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Apr 2 14:25:47 2026 +0200

    compile_pattern(): Prevent unused-variable warning when compiling with DISABLE_PCRE_JIT_COMPILATION defined
---
 urlmatch.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/urlmatch.c b/urlmatch.c
index 816e08c6..26096500 100644
--- a/urlmatch.c
+++ b/urlmatch.c
@@ -640,7 +640,9 @@ static jb_err compile_pattern(const char *pattern, enum regex_anchoring anchorin
    char *rebuf;
    size_t rebuf_size;
    PCRE2_SIZE error_offset;
+#ifndef DISABLE_PCRE_JIT_COMPILATION
    int ret;
+#endif
 
    assert(pattern);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list