diff options
author | Gabriel F T Gomes <gftg@linux.vnet.ibm.com> | 2016-10-28 15:57:15 -0200 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-10-28 19:26:14 -0200 |
commit | 1b16ff0b1e6906d4f5a4380c4ca5750e87c5e52d (patch) | |
tree | 2768bb48cfa51692718f305da7bfd91998928ac0 /ChangeLog | |
parent | f82a4bdb73328bc53bdcc344622acbd96522a83c (diff) | |
download | glibc-1b16ff0b1e6906d4f5a4380c4ca5750e87c5e52d.tar glibc-1b16ff0b1e6906d4f5a4380c4ca5750e87c5e52d.tar.gz glibc-1b16ff0b1e6906d4f5a4380c4ca5750e87c5e52d.tar.bz2 glibc-1b16ff0b1e6906d4f5a4380c4ca5750e87c5e52d.zip |
Fix warning caused by unused-result in bug-atexit3-lib.cc
The test case dlfcn/bug-atexit3-lib.cc calls write and doesn't check the
result. When building with GCC 6.2, this generates a warning in 'make
check', which is treated as an error. This patch replaces the call to
write with a call to write_message.
Tested for powerpc64le.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> + + * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied + from test-skeleton.c. + (statclass): Replace calls to write with calls to write_message. + 2016-10-28 Joseph Myers <joseph@codesourcery.com> * math/math.h |