[notmuch] [PATCH] Appease the compiler.

David Edmondson dme at dme.org
Wed Mar 3 01:31:55 PST 2010


---
 lib/message.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/message.cc b/lib/message.cc
index 0195050..5170422 100644
--- a/lib/message.cc
+++ b/lib/message.cc
@@ -427,7 +427,7 @@ notmuch_message_get_filename (notmuch_message_t *message)
     const char *prefix = _find_prefix ("file-direntry");
     int prefix_len = strlen (prefix);
     Xapian::TermIterator i;
-    char *direntry, *colon;
+    char *direntry = NULL, *colon;
     const char *db_path, *directory, *basename;
     unsigned int directory_id;
     void *local = talloc_new (message);
-- 
1.7.0



More information about the notmuch mailing list