* [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
* Re: [PATCH] Appease the compiler.
2010-03-03 9:31 [PATCH] Appease the compiler David Edmondson
@ 2010-03-09 23:53 ` Carl Worth
0 siblings, 0 replies; 2+ messages in thread
From: Carl Worth @ 2010-03-09 23:53 UTC (permalink / raw)
To: David Edmondson, notmuch
[-- Attachment #1: Type: text/plain, Size: 339 bytes --]
On Wed, 3 Mar 2010 09:31:55 +0000, David Edmondson <dme@dme.org> wrote:
> - char *direntry, *colon;
> + char *direntry = NULL, *colon;
Another one that I just got around to fixing just before noticing it in
the queue.
Someday I'll be more caught up and not duplicating work as much.
But thanks for the patch, nonetheless!
-Carl
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [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).