From: Carl Worth Date: Wed, 18 Nov 2009 23:29:52 +0000 (+0100) Subject: notmuch new: Fix countdown timer on first run. X-Git-Tag: 0.1~429 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=3687472d45b656abe8d9a3f8e465692f19e60367 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). --- diff --git a/notmuch-new.c b/notmuch-new.c index 8b319598..316d26b5 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -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);