Skip to content

Commit

Permalink
locale.c: Silence compiler warning on some platforms
Browse files Browse the repository at this point in the history
This argument isn't used on some platforms.
  • Loading branch information
khwilliamson committed May 6, 2023
1 parent d3959f7 commit c4f89da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions locale.c
Expand Up @@ -5590,6 +5590,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
Expand Down

0 comments on commit c4f89da

Please sign in to comment.