[notmuch] [PATCH] Appease the compiler.

Subject: [notmuch] [PATCH] Appease the compiler.

Date: Wed, 3 Mar 2010 09:31:55 +0000

To: notmuch@notmuchmail.org

Cc:

From: David Edmondson


---
 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


Thread: