diff options
author | David Edmondson <dme@dme.org> | 2011-12-20 15:20:04 +0000 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-21 07:32:16 -0400 |
commit | 77ec8108a10a8d372bed6298e22c89d7de651577 (patch) | |
tree | 82d815bde160591e647b5d19f26ae4ee519d7113 /notmuch-tag.c | |
parent | e3260d025389c2e98dbda58cff1c214497813bc2 (diff) |
notmuch: Quiet buildbot warnings.
Cast away the result of various *write functions. Provide a default
value for some variables to avoid "use before set" warnings.
Diffstat (limited to 'notmuch-tag.c')
-rw-r--r-- | notmuch-tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-tag.c b/notmuch-tag.c index 537d5a4d..292c5da3 100644 --- a/notmuch-tag.c +++ b/notmuch-tag.c @@ -26,7 +26,7 @@ static void handle_sigint (unused (int sig)) { static char msg[] = "Stopping... \n"; - write(2, msg, sizeof(msg)-1); + (void) write(2, msg, sizeof(msg)-1); interrupted = 1; } |