]> sourceware.org Git - glibc.git/commit
Fix warning caused by unused-result in bug-atexit3-lib.cc
authorGabriel F T Gomes <gftg@linux.vnet.ibm.com>
Fri, 28 Oct 2016 17:57:15 +0000 (15:57 -0200)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Fri, 28 Oct 2016 21:26:14 +0000 (19:26 -0200)
commit1b16ff0b1e6906d4f5a4380c4ca5750e87c5e52d
tree2768bb48cfa51692718f305da7bfd91998928ac0
parentf82a4bdb73328bc53bdcc344622acbd96522a83c
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.
ChangeLog
dlfcn/bug-atexit3-lib.cc
This page took 0.036206 seconds and 5 git commands to generate.