mirror of git://sourceware.org/git/glibc.git
Fixes following error when building with -Os: | In file included from strcoll_l.c:43: | strcoll_l.c: In function '__strcoll_l': | ../locale/weight.h:31:26: error: 'seq2.back_us' may be used uninitialized in this function [-Werror=maybe-uninitialized] | int_fast32_t i = table[*(*cpp)++]; | ^~~~~~~~~ | strcoll_l.c:304:18: note: 'seq2.back_us' was declared here | coll_seq seq1, seq2; | ^~~~ | In file included from strcoll_l.c:43: | ../locale/weight.h:31:26: error: 'seq1.back_us' may be used uninitialized in this function [-Werror=maybe-uninitialized] | int_fast32_t i = table[*(*cpp)++]; | ^~~~~~~~~ | strcoll_l.c:304:12: note: 'seq1.back_us' was declared here | coll_seq seq1, seq2; | ^~~~ Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com> |
||
|---|---|---|
| .. | ||
| bits | ||
| programs | ||
| tst-localedef-path-norm.root | ||
| C-address.c | ||
| C-collate-seq.c | ||
| C-collate.c | ||
| C-ctype.c | ||
| C-identification.c | ||
| C-measurement.c | ||
| C-messages.c | ||
| C-monetary.c | ||
| C-name.c | ||
| C-numeric.c | ||
| C-paper.c | ||
| C-telephone.c | ||
| C-time.c | ||
| C-translit.h.in | ||
| C_name.c | ||
| Makefile | ||
| SYS_libc.c | ||
| Versions | ||
| broken_cur_max.c | ||
| categories.def | ||
| coll-lookup.c | ||
| coll-lookup.h | ||
| duplocale.c | ||
| elem-hash.h | ||
| findlocale.c | ||
| freelocale.c | ||
| gen-translit.py | ||
| global-locale.c | ||
| hashval.h | ||
| indigits.h | ||
| indigitswc.h | ||
| iso-639.def | ||
| iso-3166.def | ||
| iso-4217.def | ||
| langinfo.h | ||
| lc-address.c | ||
| lc-collate.c | ||
| lc-ctype.c | ||
| lc-identification.c | ||
| lc-measurement.c | ||
| lc-messages.c | ||
| lc-monetary.c | ||
| lc-name.c | ||
| lc-numeric.c | ||
| lc-paper.c | ||
| lc-telephone.c | ||
| lc-time.c | ||
| loadarchive.c | ||
| loadlocale.c | ||
| locale.h | ||
| localeconv.c | ||
| localeinfo.h | ||
| localename.c | ||
| locarchive.h | ||
| mb_cur_max.c | ||
| newlocale.c | ||
| nl_langinfo.c | ||
| nl_langinfo_l.c | ||
| outdigits.h | ||
| outdigitswc.h | ||
| setlocale.c | ||
| strlen-hash.h | ||
| tst-C-locale.c | ||
| tst-duplocale.c | ||
| tst-locale-locpath.sh | ||
| tst-localedef-path-norm.c | ||
| tst-locname.c | ||
| uselocale.c | ||
| weight.h | ||
| weightwc.h | ||
| xlocale.c | ||