This function has been unused since commit 4083fd8. --- lib/message.cc | 17 ----------------- lib/notmuch-private.h | 3 --- 2 files changed, 20 deletions(-)
diff --git a/lib/message.cc b/lib/message.cc index bf3a3419..09e5660b 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -340,23 +340,6 @@ _notmuch_message_get_term (notmuch_message_t *message, return value; } -/* - * For special applications where we only want the thread id, reading - * in all metadata is a heavy I/O penalty. - */ -const char * -_notmuch_message_get_thread_id_only (notmuch_message_t *message) -{ - - Xapian::TermIterator i = message->doc.termlist_begin (); - Xapian::TermIterator end = message->doc.termlist_end (); - - message->thread_id = _notmuch_message_get_term (message, i, end, - _find_prefix ("thread")); - return message->thread_id; -} - - static void _notmuch_message_ensure_metadata (notmuch_message_t *message, void *field) { diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 3cc79bc4..c63cfe5e 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -586,9 +586,6 @@ _notmuch_message_add_reply (notmuch_message_t *message, void _notmuch_message_remove_unprefixed_terms (notmuch_message_t *message); -const char * -_notmuch_message_get_thread_id_only (notmuch_message_t *message); - size_t _notmuch_message_get_thread_depth (notmuch_message_t *message); void -- 2.35.2 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org