diff options
Diffstat (limited to 'locale/setlocale.c')
-rw-r--r-- | locale/setlocale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/setlocale.c b/locale/setlocale.c index 6eb6d98d70..98a4ffe63b 100644 --- a/locale/setlocale.c +++ b/locale/setlocale.c @@ -367,8 +367,8 @@ setlocale (int category, const char *locale) } else { - const struct locale_data *newdata; - char *newname; + const struct locale_data *newdata = NULL; + char *newname = NULL; if (_nl_current[category] != NULL) { |