diff options
author | Karl Williamson <khw@cpan.org> | 2020-06-05 08:26:59 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-06-02 07:36:00 -0600 |
commit | aa0bbeb97059427b451529157f7824a75272d08c (patch) | |
tree | 0a6bb14fef6943d578d29a12f47520d8cd5436a1 | |
parent | eafa4197bf865abf3fd4a6f117de2de93484df02 (diff) | |
download | perl-aa0bbeb97059427b451529157f7824a75272d08c.tar.gz |
regexec.c: Remove obsolete code
The results of this are no longer used
-rw-r--r-- | regexec.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -10699,15 +10699,6 @@ S_reginclass(pTHX_ regexp * const prog, const regnode * const n, const U8* const &only_utf8_locale, NULL); #endif if (definition) { - U8 utf8_buffer[2]; - U8 * utf8_p; - if (utf8_target) { - utf8_p = (U8 *) p; - } else { /* Convert to utf8 */ - utf8_p = utf8_buffer; - append_utf8_from_native_byte(*p, &utf8_p); - utf8_p = utf8_buffer; - } /* Turkish locales have these hard-coded rules overriding * normal ones */ |