]> git.cworth.org Git - obsolete/notmuch-old/commit
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)
commita9a9e374e2567caad8601d1781a3b0af8a3dde13
tree55254879111f1f5d05a4217a825a4add463a31a9
parent18947b95cd1668d1b98f7ea4196e97b050599f7d
Silence buildbot warnings about unused results

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);
compat/compat.h
notmuch-new.c
notmuch-tag.c