notmuch new: Fix countdown timer on first run.

A recent shuffling of this code accidentally disabled the timer,
(making the time spent counting the files totally useless).
This commit is contained in:
Carl Worth 2009-11-19 00:29:52 +01:00
parent 0d4b529297
commit 3687472d45

View file

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