diff options
author | 2014-11-25 14:12:48 -0800 | |
---|---|---|
committer | 2014-11-25 14:20:53 -0800 | |
commit | b1eda10e17bf2056ca79a534d92fe0b0b06bd410 (patch) | |
tree | 0ae624bdeb264f2a7a11e2fd2266f73acbc56af9 /stdio-common/tst-printf-round.c | |
parent | Fix warning in posix/bug-regex31.c. (diff) | |
download | glibc-b1eda10e17bf2056ca79a534d92fe0b0b06bd410.tar.xz glibc-b1eda10e17bf2056ca79a534d92fe0b0b06bd410.zip |
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