]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-tag.c
python: fix error handling
[notmuch] / notmuch-tag.c
index 537d5a4d1625d0747b1fe74f2045a150ee4b67d9..292c5da3f824a222caceed290109cabed40e959c 100644 (file)
@@ -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;
 }