projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f79ce03
)
locale.c: Remove vars unused on some platforms
author
Karl Williamson
<public@khwilliamson.com>
Mon, 17 Feb 2014 15:11:04 +0000
(08:11 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Mon, 17 Feb 2014 15:41:38 +0000
(08:41 -0700)
A Darwin compiler noted these are unused.
locale.c
patch
|
blob
|
history
diff --git
a/locale.c
b/locale.c
index
d22d2ab
..
b89eb59
100644
(file)
--- 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;