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-new.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-new.c')
-rw-r--r-- | notmuch-new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-new.c b/notmuch-new.c index bfb4600..3512de7 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -67,7 +67,7 @@ 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; } |