diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-25 13:57:38 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-31 08:53:40 -0300 |
commit | c5c65de1b29f8f73f8aff5c3526427fc37760f2e (patch) | |
tree | dd4d8a90546e80c4333ab8296ab42edb51c5c9b4 /locale/programs/ld-collate.c | |
parent | 74942fd2735afaadf675b38abc19c65288155b02 (diff) | |
download | glibc-c5c65de1b29f8f73f8aff5c3526427fc37760f2e.zip glibc-c5c65de1b29f8f73f8aff5c3526427fc37760f2e.tar.gz glibc-c5c65de1b29f8f73f8aff5c3526427fc37760f2e.tar.bz2 |
locale: Remove set but unused variable on ld-collate.c
Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'locale/programs/ld-collate.c')
-rw-r--r-- | locale/programs/ld-collate.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c index 7b0d1bf..9928144 100644 --- a/locale/programs/ld-collate.c +++ b/locale/programs/ld-collate.c @@ -1562,7 +1562,6 @@ collate_finish (struct localedef_t *locale, const struct charmap_t *charmap) int need_undefined = 0; struct section_list *sect; int ruleidx; - int nr_wide_elems = 0; if (collate == NULL) { @@ -1716,13 +1715,7 @@ symbol `%s' has the same encoding as"), (*eptr)->name); } if (runp->used_in_level) - { - runp->wcorder = wcact++; - - /* We take the opportunity to count the elements which have - wide characters. */ - ++nr_wide_elems; - } + runp->wcorder = wcact++; if (runp->is_character) { |