aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/findlocale.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/locale/findlocale.c b/locale/findlocale.c
index 5f600b6040..b1f940231f 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)