diff options
author | Dirk-Jan C. Binnema <djcb.bulk@gmail.com> | 2009-11-23 08:03:35 +0200 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-12-01 07:50:35 -0800 |
commit | 5f0b2ece161b16321792d9ff2f76bcc33a3b6b42 (patch) | |
tree | 68a47643c827ff65865f309dd33c2c1878b1ebde /gmime-filter-reply.h | |
parent | 55559ea409ad8df367f13752430244b7087dcd23 (diff) |
Avoid compiler warnings due to ignored write return values
Glibc (at least) provides the warn_unused_result attribute on write,
(if optimizing and _FORTIFY_SOURCE is defined). So we explicitly
ignore the return value in our signal handler, where we couldn't do
anything anyway.
Compile with:
make CFLAGS="-O -D_FORTIFY_SOURCE"
before this commit to see the warning.
Diffstat (limited to 'gmime-filter-reply.h')
0 files changed, 0 insertions, 0 deletions