From c446f22dee2de6f837709207f554607cf0882836 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 9 Mar 2010 12:05:43 -0800 Subject: [PATCH] lib: Silence a compiler warning. The original code was harmless, but apparently some compilers aren't able to think deep enough to catch that. --- lib/message.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.26.2