X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=3512de727734ad48025f3f88972587fed91d838b;hp=bfb460013622959eaa8eca2dc6cd0a1df590a85e;hb=baa2c9721d850ea95857f44ba0b44147c80f7998;hpb=69bb7f35b6e59fd3a3b1fb2d0f0367f7016cba80 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; }