aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/message.cc
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-03-09 12:05:43 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-03-09 12:07:26 -0800
commitc446f22dee2de6f837709207f554607cf0882836 (patch)
tree1ee67effb6f106bb966ff651b5244983419d5ddb /lib/message.cc
parent07876ac135bbb3da264264ee5f7b83d36aad4290 (diff)
lib: Silence a compiler warning.
The original code was harmless, but apparently some compilers aren't able to think deep enough to catch that.
Diffstat (limited to 'lib/message.cc')
-rw-r--r--lib/message.cc2
1 files changed, 1 insertions, 1 deletions
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);