This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72b5eaf
)
locale.c: Remove unnecessary Perl_form() call
author
Karl Williamson
<khw@cpan.org>
Tue, 16 Jan 2024 03:45:22 +0000
(20:45 -0700)
committer
Karl Williamson
<khw@cpan.org>
Wed, 17 Jan 2024 17:34:33 +0000
(10:34 -0700)
There is nothing to format here; just a constant string.
locale.c
patch
|
blob
|
blame
|
history
diff --git
a/locale.c
b/locale.c
index
f819ee1
..
b79e7e1
100644
(file)
--- a/
locale.c
+++ b/
locale.c
@@
-7989,8
+7989,7
@@
Perl_init_i18nl10n(pTHX_ int printwarn)
PL_C_locale_obj = newlocale(LC_ALL_MASK, "C", (locale_t) 0);
if (! PL_C_locale_obj) {
LOCALE_UNLOCK;
- locale_panic_(Perl_form(aTHX_
- "Cannot create POSIX 2008 C locale object"));
+ locale_panic_("Cannot create POSIX 2008 C locale object");
}
LOCALE_UNLOCK;