locale: Remove set but unused variable on ld-collate.c

Checked on x86_64-linux-gnu and i686-linux-gnu.
This commit is contained in:
Adhemerval Zanella 2022-03-25 13:57:38 -03:00
parent 74942fd273
commit c5c65de1b2

View File

@ -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)
{