]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-new.c
fix sum moar typos [comments in source code]
[notmuch] / notmuch-new.c
index 4874a1c1d09b5eb506f5eb642bb803669eb9acd3..0fa2a3cb72ebcda4a3de4131d3106a0fa4a96704 100644 (file)
@@ -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.