X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=0fa2a3cb72ebcda4a3de4131d3106a0fa4a96704;hp=4874a1c1d09b5eb506f5eb642bb803669eb9acd3;hb=8bb6f7869c4c98190f010d60409938b1c50c5968;hpb=61d4d89572e18eeb0e84e67a3a699289b2c7c9cf diff --git a/notmuch-new.c b/notmuch-new.c index 4874a1c1..0fa2a3cb 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -64,10 +64,9 @@ static volatile sig_atomic_t interrupted; static void handle_sigint (unused (int sig)) { - ssize_t ignored; static char msg[] = "Stopping... \n"; - ignored = write(2, msg, sizeof(msg)-1); + write(2, msg, sizeof(msg)-1); interrupted = 1; } @@ -374,7 +373,7 @@ add_files_recursive (notmuch_database_t *notmuch, /* If we're looking at a symlink, we only want to add it if it * links to a regular file, (and not to a directory, say). * - * Similarly, if the file is of unknown type (due to filesytem + * Similarly, if the file is of unknown type (due to filesystem * limitations), then we also need to look closer. * * In either case, a stat does the trick.