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