From fcd0bb295adef2182136761bdea9dba320dd85ed Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 30 Sep 2023 20:16:40 +0300 Subject: [PATCH] ; * src/regex-emacs.c (forall_firstchar_1): Fix compilation error. --- src/regex-emacs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/regex-emacs.c b/src/regex-emacs.c index 79e9f2c105a..ffb8891d3a6 100644 --- a/src/regex-emacs.c +++ b/src/regex-emacs.c @@ -2841,6 +2841,7 @@ forall_firstchar_1 (re_char *p, re_char *pend, { re_char *newp1, *newp2, *tmp; re_char *p_orig = p; + int offset; if (p == pend) return false; @@ -2978,7 +2979,7 @@ forall_firstchar_1 (re_char *p, re_char *pend, goto do_twoway_jump; case set_number_at: - int offset = extract_number (p + 1); + offset = extract_number (p + 1); DEBUG_STATEMENT (eassert (extract_number (p + 3))); /* If we're setting the counter of an immediately following `succeed_n`, then this next execution of `succeed_n` will do -- 2.39.5