]> git.notmuchmail.org Git - notmuch/commitdiff
Silence buildbot warnings about unused results
authorAustin Clements <amdragon@MIT.EDU>
Thu, 19 Jan 2012 22:29:19 +0000 (17:29 -0500)
committerDavid Bremner <bremner@debian.org>
Sat, 21 Jan 2012 12:49:50 +0000 (08:49 -0400)
This ignores the results of the two writes in sigint handlers even
harder than before.

While my libc lacks the declarations that trigger these warnings, this
can be tested by adding the following to notmuch.h:

__attribute__((warn_unused_result))
ssize_t write(int fd, const void *buf, size_t count);


No differences found