notmuch new: Fix countdown timer on first run.
authorCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 23:29:52 +0000 (00:29 +0100)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 23:29:52 +0000 (00:29 +0100)
A recent shuffling of this code accidentally disabled the timer,
(making the time spent counting the files totally useless).

notmuch-new.c

index 8b3195984680fd948b1bae764ff1cf6068db9f83..316d26b5c09181859fbb68c996419cf11c6a80b1 100644 (file)
@@ -423,7 +423,6 @@ notmuch_new_command (void *ctx,
     dot_notmuch_path = NULL;
 
     add_files_state.saw_read_only_directory = FALSE;
-    add_files_state.total_files = 0;
     add_files_state.processed_files = 0;
     add_files_state.added_messages = 0;
     gettimeofday (&add_files_state.tv_start, NULL);