Re: Error with contrib/notmuch-pick
[notmuch-archives.git] / e7 / 633eff610d72d85a2d96a2e4eed12230d05563
1 Return-Path: <dme@dme.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 40B69431FBC\r
6         for <notmuch@notmuchmail.org>; Wed,  3 Mar 2010 01:32:23 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.303\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.303 tagged_above=-999 required=5 tests=[AWL=0.296,\r
12         BAYES_00=-2.599] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id uMCzca+w38Si for <notmuch@notmuchmail.org>;\r
16         Wed,  3 Mar 2010 01:32:22 -0800 (PST)\r
17 Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com\r
18         [209.85.220.218])\r
19         by olra.theworths.org (Postfix) with ESMTP id 77741431FAE\r
20         for <notmuch@notmuchmail.org>; Wed,  3 Mar 2010 01:32:22 -0800 (PST)\r
21 Received: by fxm10 with SMTP id 10so1204179fxm.30\r
22         for <notmuch@notmuchmail.org>; Wed, 03 Mar 2010 01:32:12 -0800 (PST)\r
23 Received: by 10.223.1.146 with SMTP id 18mr743799faf.53.1267608731132;\r
24         Wed, 03 Mar 2010 01:32:11 -0800 (PST)\r
25 Received: from aw.hh.sledj.net (gmp-ea-fw-1.sun.com [192.18.1.36])\r
26         by mx.google.com with ESMTPS id 28sm8812215fkx.6.2010.03.03.01.32.10\r
27         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
28         Wed, 03 Mar 2010 01:32:10 -0800 (PST)\r
29 Received: by aw.hh.sledj.net (Postfix, from userid 1000)\r
30         id 214443A0A1; Wed,  3 Mar 2010 09:31:57 +0000 (GMT)\r
31 From: David Edmondson <dme@dme.org>\r
32 To: notmuch@notmuchmail.org\r
33 Date: Wed,  3 Mar 2010 09:31:55 +0000\r
34 Message-Id: <1267608715-16206-1-git-send-email-dme@dme.org>\r
35 X-Mailer: git-send-email 1.7.0\r
36 Subject: [notmuch] [PATCH] Appease the compiler.\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Wed, 03 Mar 2010 09:32:23 -0000\r
50 \r
51 ---\r
52  lib/message.cc |    2 +-\r
53  1 files changed, 1 insertions(+), 1 deletions(-)\r
54 \r
55 diff --git a/lib/message.cc b/lib/message.cc\r
56 index 0195050..5170422 100644\r
57 --- a/lib/message.cc\r
58 +++ b/lib/message.cc\r
59 @@ -427,7 +427,7 @@ notmuch_message_get_filename (notmuch_message_t *message)\r
60      const char *prefix = _find_prefix ("file-direntry");\r
61      int prefix_len = strlen (prefix);\r
62      Xapian::TermIterator i;\r
63 -    char *direntry, *colon;\r
64 +    char *direntry = NULL, *colon;\r
65      const char *db_path, *directory, *basename;\r
66      unsigned int directory_id;\r
67      void *local = talloc_new (message);\r
68 -- \r
69 1.7.0\r
70 \r