summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-11-28 10:50:14 -0700
committerYves Orton <demerphq@gmail.com>2023-02-07 21:26:50 +0800
commitdead3ccedb0e57c37846b3b30aa1d618ef1309f3 (patch)
tree13cb16ca06dcdbe97882f0ad1e9ae27fef81bfce /locale.c
parent923d5d2113e738eea21d56eb8f1589c6b3506f02 (diff)
downloadperl-dead3ccedb0e57c37846b3b30aa1d618ef1309f3.tar.gz
locale.c: Silence compiler warning
This is only emitted on Windows Visual Studio, before 2015.
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/locale.c b/locale.c
index 23c5c5e86d..e1703ead8c 100644
--- a/locale.c
+++ b/locale.c
@@ -1970,6 +1970,8 @@ S_new_numeric(pTHX_ const char *newnum, bool force)
NULL, NULL));
Safefree(scratch_buffer);
+# else
+ PERL_UNUSED_VAR(C_thousands_sep);
# endif
PL_numeric_standard = PL_numeric_underlying_is_standard;