summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2014-02-17 08:11:04 -0700
committerKarl Williamson <public@khwilliamson.com>2014-02-17 08:41:38 -0700
commit55f616c39553c61edd12406823d815451f74c97f (patch)
tree49664c45e0472e75188580a134a61a197c3f20fb /locale.c
parentf79ce037a8033149e8d6cee133f587111b0ada9b (diff)
downloadperl-55f616c39553c61edd12406823d815451f74c97f.tar.gz
locale.c: Remove vars unused on some platforms
A Darwin compiler noted these are unused.
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/locale.c b/locale.c
index d22d2abc48..b89eb5908d 100644
--- a/locale.c
+++ b/locale.c
@@ -444,8 +444,6 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
#endif /* USE_LOCALE_NUMERIC */
#ifdef __GLIBC__
char * const language = PerlEnv_getenv("LANGUAGE");
-#else
- const char * const language = NULL;
#endif
/* NULL uses the existing already set up locale */
@@ -465,7 +463,6 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
(printwarn &&
(!(p = PerlEnv_getenv("PERL_BADLANG")) || atoi(p))));
bool done = FALSE;
- const char *description;
const char *system_default_locale = NULL;