Looking at _notmuch_message_create_for_message_id, the first thing it does is call notmuch_database_find_message, but the returned 'message' is never used. I haven't tried, but I suspect this call could just be removed. -- keith.packard@intel.com
Subject: [notmuch] _notmuch_message_create_for_message_id makes extra call to notmuch_database_find_message
Date: Mon, 23 Nov 2009 12:29:44 -0800
Cc:
From: Keith Packard
Looking at _notmuch_message_create_for_message_id, the first thing it does is call notmuch_database_find_message, but the returned 'message' is never used. I haven't tried, but I suspect this call could just be removed. -- keith.packard@intel.com