mirror of git://sourceware.org/git/glibc.git
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:
parent
74942fd273
commit
c5c65de1b2
|
@ -1562,7 +1562,6 @@ collate_finish (struct localedef_t *locale, const struct charmap_t *charmap)
|
||||||
int need_undefined = 0;
|
int need_undefined = 0;
|
||||||
struct section_list *sect;
|
struct section_list *sect;
|
||||||
int ruleidx;
|
int ruleidx;
|
||||||
int nr_wide_elems = 0;
|
|
||||||
|
|
||||||
if (collate == NULL)
|
if (collate == NULL)
|
||||||
{
|
{
|
||||||
|
@ -1716,14 +1715,8 @@ symbol `%s' has the same encoding as"), (*eptr)->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (runp->used_in_level)
|
if (runp->used_in_level)
|
||||||
{
|
|
||||||
runp->wcorder = wcact++;
|
runp->wcorder = wcact++;
|
||||||
|
|
||||||
/* We take the opportunity to count the elements which have
|
|
||||||
wide characters. */
|
|
||||||
++nr_wide_elems;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (runp->is_character)
|
if (runp->is_character)
|
||||||
{
|
{
|
||||||
if (runp->nmbs == 1)
|
if (runp->nmbs == 1)
|
||||||
|
|
Loading…
Reference in New Issue