diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-11-25 14:12:48 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-11-25 14:20:53 -0800 |
commit | b1eda10e17bf2056ca79a534d92fe0b0b06bd410 (patch) | |
tree | 0ae624bdeb264f2a7a11e2fd2266f73acbc56af9 /stdio-common/tst-printf-round.c | |
parent | bde2667a22c355467a4f07246c6d07a9dcc89366 (diff) | |
download | glibc-b1eda10e17bf2056ca79a534d92fe0b0b06bd410.zip glibc-b1eda10e17bf2056ca79a534d92fe0b0b06bd410.tar.gz glibc-b1eda10e17bf2056ca79a534d92fe0b0b06bd410.tar.bz2 |
fnmatch: work around GCC compiler warning bug with uninit var
* posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
This works around a bug with x86-64 GCC 4.9.2 and earlier
where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
"../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
used uninitialized in this function [-Wmaybe-uninitialized]".
Diffstat (limited to 'stdio-common/tst-printf-round.c')
0 files changed, 0 insertions, 0 deletions