Commit b397d7110d for perl

commit b397d7110d78b09e948d2d2100efda282ade03ba
Author: Karl Williamson <khw@cpan.org>
Date:   Thu Sep 17 08:56:46 2026 -0600

    utf8.c: Remove unnecessary else's

    These are both preceded by unconditional goto's, so aren't needed.
    Removing makes things a bit cleaner in a future commit

diff --git a/utf8.c b/utf8.c
index 429e351f07..f29eae8d8f 100644
--- a/utf8.c
+++ b/utf8.c
@@ -4546,10 +4546,8 @@ Perl_to_utf8_fold_flags_(pTHX_ const U8 *p,
                           "resolved to \"\\x{17F}\\x{17F}\".");
                 goto return_long_s;
             }
-            else
 #endif
-                 if (memBEGINs((char *) p, e - p, LONG_S_T))
-            {
+            if (memBEGINs((char *) p, e - p, LONG_S_T)) {
                 /* diag_listed_as: Can't do %s("%s") on non-UTF-8 locale; resolved to "%s". */
                 ck_warner(packWARN(WARN_LOCALE),
                           "Can't do fc(\"\\x{FB05}\") on non-UTF-8 locale; "
@@ -4567,7 +4565,7 @@ Perl_to_utf8_fold_flags_(pTHX_ const U8 *p,
              * 255/256 boundary which is forbidden under /l, and so the code
              * wouldn't catch that they are equivalent (which they are only in
              * this release) */
-            else if (memBEGINs((char *) p, e - p, DOTTED_I)) {
+            if (memBEGINs((char *) p, e - p, DOTTED_I)) {
                 /* diag_listed_as: Can't do %s("%s") on non-UTF-8 locale; resolved to "%s". */
                 ck_warner(packWARN(WARN_LOCALE),
                           "Can't do fc(\"\\x{0130}\") on non-UTF-8 locale; "