diff options
Diffstat (limited to 'locale/findlocale.c')
-rw-r--r-- | locale/findlocale.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/locale/findlocale.c b/locale/findlocale.c index 5f600b6..b1f9402 100644 --- a/locale/findlocale.c +++ b/locale/findlocale.c @@ -178,7 +178,6 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len, ((struct locale_data *) locale_file->data)->name = __strndup (cp, endp - cp); } - *name = (char *) ((struct locale_data *) locale_file->data)->name; /* Determine whether the user wants transliteration or not. */ if ((modifier != NULL && __strcasecmp (modifier, "TRANSLIT") == 0) |