X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fthread.cc;h=1c8b39d208bc89a780675da6f27f98de0b168b97;hp=ec80f8518b9ebe7856db7a5a78cea474baf53e9f;hb=b957a1b029d27c6b2ecd352dbacde3d9d164666f;hpb=e002fe8a7adcc8b8df20107e4617be97983662fa diff --git a/lib/thread.cc b/lib/thread.cc index ec80f851..1c8b39d2 100644 --- a/lib/thread.cc +++ b/lib/thread.cc @@ -278,7 +278,6 @@ _notmuch_thread_create (void *ctx, } notmuch_query_destroy (thread_id_query); - for (messages = notmuch_query_search_messages (matched_query); notmuch_messages_valid (messages); notmuch_messages_move_to_next (messages))