aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-new.c
diff options
context:
space:
mode:
authorGravatar David Edmondson <dme@dme.org>2011-12-20 15:20:04 +0000
committerGravatar David Bremner <bremner@debian.org>2011-12-21 07:32:16 -0400
commit77ec8108a10a8d372bed6298e22c89d7de651577 (patch)
tree82d815bde160591e647b5d19f26ae4ee519d7113 /notmuch-new.c
parente3260d025389c2e98dbda58cff1c214497813bc2 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-new.c b/notmuch-new.c
index bfb46001..3512de72 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;
}