mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
nptl_db/thread_dbP.h: fix warn unused result
Fix unused result warnings, detected when _FORTIFY_SOURCE is enabled in glibc. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
This commit is contained in:
parent
b97c5efdca
commit
a952fcda58
1 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,9 @@ enum
|
|||
|
||||
/* Comment out the following for less verbose output. */
|
||||
#ifndef NDEBUG
|
||||
# define LOG(c) if (__td_debug) write (2, c "\n", strlen (c "\n"))
|
||||
# define LOG(c) \
|
||||
if (__td_debug) \
|
||||
assert (write (2, c "\n", strlen (c "\n")) == strlen (c "\n"))
|
||||
extern int __td_debug attribute_hidden;
|
||||
#else
|
||||
# define LOG(c)
|
||||
|
|
Loading…
Add table
Reference in a new issue