aboutsummaryrefslogtreecommitdiff
path: root/locale/programs/ld-identification.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/ld-identification.c')
-rw-r--r--locale/programs/ld-identification.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/locale/programs/ld-identification.c b/locale/programs/ld-identification.c
index b14db505ed..bc252a018f 100644
--- a/locale/programs/ld-identification.c
+++ b/locale/programs/ld-identification.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@@ -289,7 +289,6 @@ identification_read (struct linereader *ldfile, struct localedef_t *result,
struct charmap_t *charmap, const char *repertoire_name,
int ignore_content)
{
- struct repertoire_t *repertoire = NULL;
struct locale_identification_t *identification;
struct token *now;
struct token *arg;
@@ -297,10 +296,6 @@ identification_read (struct linereader *ldfile, struct localedef_t *result,
int category;
enum token_t nowtok;
- /* Get the repertoire we have to use. */
- if (repertoire_name != NULL)
- repertoire = repertoire_read (repertoire_name);
-
/* The rest of the line containing `LC_IDENTIFICATION' must be free. */
lr_ignore_rest (ldfile, 1);
@@ -314,8 +309,9 @@ identification_read (struct linereader *ldfile, struct localedef_t *result,
/* If we see `copy' now we are almost done. */
if (nowtok == tok_copy)
{
- handle_copy (ldfile, charmap, repertoire, result, tok_lc_identification,
- LC_IDENTIFICATION, "LC_IDENTIFICATION", ignore_content);
+ handle_copy (ldfile, charmap, repertoire_name, result,
+ tok_lc_identification, LC_IDENTIFICATION,
+ "LC_IDENTIFICATION", ignore_content);
return;
}