aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-setup.c
diff options
context:
space:
mode:
authorGravatar Dirk-Jan C. Binnema <djcb.bulk@gmail.com>2009-11-23 08:03:35 +0200
committerGravatar Carl Worth <cworth@cworth.org>2009-12-01 07:50:35 -0800
commit5f0b2ece161b16321792d9ff2f76bcc33a3b6b42 (patch)
tree68a47643c827ff65865f309dd33c2c1878b1ebde /notmuch-setup.c
parent55559ea409ad8df367f13752430244b7087dcd23 (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 'notmuch-setup.c')
0 files changed, 0 insertions, 0 deletions