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:
526a600
)
locale.c: Silence compiler warning on some platforms
author
Karl Williamson
<khw@cpan.org>
Fri, 21 Apr 2023 15:10:07 +0000
(09:10 -0600)
committer
Karl Williamson
<khw@cpan.org>
Thu, 17 Aug 2023 13:39:03 +0000
(07:39 -0600)
This argument isn't used on some platforms.
locale.c
patch
|
blob
|
blame
|
history
diff --git
a/locale.c
b/locale.c
index
20d2653
..
7c2b193
100644
(file)
--- a/
locale.c
+++ b/
locale.c
@@
-4689,6
+4689,9
@@
S_populate_hash_from_localeconv(pTHX_ HV * hv,
PERL_ARGS_ASSERT_POPULATE_HASH_FROM_LOCALECONV;
PERL_UNUSED_ARG(which_mask); /* Some configurations don't use this;
complicated to figure out which */
+# ifndef USE_LOCALE
+ PERL_UNUSED_ARG(locale);
+# endif
/* Run localeconv() and copy some or all of its results to the input 'hv'
* hash. Most localeconv() implementations return the values in a global