Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: GitHub noreply@github.com Date: Thu, 06 Feb 2025 22:02:55 UTC Commit: 716c681c0c93506557cff478ae5483c3a53189d3 https://github.com/geany/geany/commit/716c681c0c93506557cff478ae5483c3a53189...
Log Message: ----------- Merge pull request #4232 from techee/regex_unused
regex: Remove unused variable
Modified Paths: -------------- ctags/gnu_regex/regex_internal.c
Modified: ctags/gnu_regex/regex_internal.c 4 lines changed, 1 insertions(+), 3 deletions(-) =================================================================== @@ -694,7 +694,7 @@ re_string_reconstruct (re_string_t *pstr, int idx, int eflags)
if (pstr->is_utf8) { - const unsigned char *raw, *p, *q, *end; + const unsigned char *raw, *p, *end;
/* Special case UTF-8. Multi-byte chars start with any byte other than 0x80 - 0xbf. */ @@ -723,13 +723,11 @@ re_string_reconstruct (re_string_t *pstr, int idx, int eflags) unsigned char buf[6]; size_t mbclen;
- q = p; if (BE (pstr->trans != NULL, 0)) { int i = mlen < 6 ? mlen : 6; while (--i >= 0) buf[i] = pstr->trans[p[i]]; - q = buf; } /* XXX Don't use mbrtowc, we know which conversion to use (UTF-8 -> UCS4). */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).