* [PATCH] Appease the compiler.
@ 2010-03-03 9:31 David Edmondson
2010-03-09 23:53 ` Carl Worth
0 siblings, 1 reply; 2+ messages in thread
From: David Edmondson @ 2010-03-03 9:31 UTC (permalink / raw)
To: notmuch
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-09 23:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03 9:31 [PATCH] Appease the compiler David Edmondson
2010-03-09 23:53 ` Carl Worth
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).