]> git.notmuchmail.org Git - notmuch/blobdiff - lib/message.cc
lib: Silence a compiler warning.
[notmuch] / lib / message.cc
index 0f98222d36a128283c2774e805a6af69f11f0228..721c9a675a426c794999938ea62f1c009cb08ab3 100644 (file)
@@ -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 *colon, *direntry = NULL;
     const char *db_path, *directory, *basename;
     unsigned int directory_id;
     void *local = talloc_new (message);