4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 20:39:33 +08:00

__localeconv_l: Always define locale variable lconv

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2016-08-16 13:54:32 +02:00
parent 7964ad15c1
commit 7ef90f7f9d

View File

@ -5,8 +5,8 @@
struct lconv *
__localeconv_l (struct __locale_t *locale)
{
#ifdef __HAVE_LOCALE_INFO__
struct lconv *lconv = &locale->lconv;
#ifdef __HAVE_LOCALE_INFO__
const struct lc_numeric_T *n = __get_numeric_locale (locale);
const struct lc_monetary_T *m = __get_monetary_locale (locale);