[notmuch] [PATCH] Appease the compiler.

2010-03-09 Thread Carl Worth
On Wed,  3 Mar 2010 09:31:55 +, David Edmondson  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
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 



Re: [notmuch] [PATCH] Appease the compiler.

2010-03-09 Thread Carl Worth
On Wed,  3 Mar 2010 09:31:55 +, David Edmondson d...@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


pgp97OVjbp7e8.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[notmuch] [PATCH] Appease the compiler.

2010-03-03 Thread David Edmondson
---
 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