This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Rmv unexecuted statement after croak
authorKarl Williamson <khw@cpan.org>
Wed, 5 Apr 2023 01:12:24 +0000 (19:12 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 9 Jul 2023 19:20:42 +0000 (13:20 -0600)
And it is misleading to have it.

locale.c

index f371687..e983686 100644 (file)
--- a/locale.c
+++ b/locale.c
@@ -4932,7 +4932,6 @@ the program, giving results based on that locale.
 
 #else
     Perl_croak(aTHX_ "panic: no strftime");
-    return NULL;
 #endif
 
 }