[PATCH 1/8] lib: make _notmuch_message_ensure_metadata static

David Bremner david at tethera.net
Sat Feb 18 06:45:44 PST 2017


It's not called anywhere outside message.cc.
---
 lib/message.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/message.cc b/lib/message.cc
index 9d3e8071..9455b11d 100644
--- a/lib/message.cc
+++ b/lib/message.cc
@@ -310,7 +310,7 @@ _notmuch_message_get_term (notmuch_message_t *message,
     return value;
 }
 
-void
+static void
 _notmuch_message_ensure_metadata (notmuch_message_t *message)
 {
     Xapian::TermIterator i, end;
-- 
2.11.0



More information about the notmuch mailing list