X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage.cc;h=721c9a675a426c794999938ea62f1c009cb08ab3;hp=0f98222d36a128283c2774e805a6af69f11f0228;hb=c446f22dee2de6f837709207f554607cf0882836;hpb=07876ac135bbb3da264264ee5f7b83d36aad4290;ds=sidebyside diff --git a/lib/message.cc b/lib/message.cc index 0f98222d..721c9a67 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 *colon, *direntry = NULL; const char *db_path, *directory, *basename; unsigned int directory_id; void *local = talloc_new (message);