[notmuch] [PATCH] Appease the compiler.
authorDavid Edmondson <dme@dme.org>
Wed, 3 Mar 2010 09:31:55 +0000 (09:31 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:19 +0000 (09:36 -0800)
e7/633eff610d72d85a2d96a2e4eed12230d05563 [new file with mode: 0644]

diff --git a/e7/633eff610d72d85a2d96a2e4eed12230d05563 b/e7/633eff610d72d85a2d96a2e4eed12230d05563
new file mode 100644 (file)
index 0000000..d82ef7a
--- /dev/null
@@ -0,0 +1,70 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 40B69431FBC\r
+       for <notmuch@notmuchmail.org>; Wed,  3 Mar 2010 01:32:23 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.303\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.303 tagged_above=-999 required=5 tests=[AWL=0.296,\r
+       BAYES_00=-2.599] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id uMCzca+w38Si for <notmuch@notmuchmail.org>;\r
+       Wed,  3 Mar 2010 01:32:22 -0800 (PST)\r
+Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com\r
+       [209.85.220.218])\r
+       by olra.theworths.org (Postfix) with ESMTP id 77741431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  3 Mar 2010 01:32:22 -0800 (PST)\r
+Received: by fxm10 with SMTP id 10so1204179fxm.30\r
+       for <notmuch@notmuchmail.org>; Wed, 03 Mar 2010 01:32:12 -0800 (PST)\r
+Received: by 10.223.1.146 with SMTP id 18mr743799faf.53.1267608731132;\r
+       Wed, 03 Mar 2010 01:32:11 -0800 (PST)\r
+Received: from aw.hh.sledj.net (gmp-ea-fw-1.sun.com [192.18.1.36])\r
+       by mx.google.com with ESMTPS id 28sm8812215fkx.6.2010.03.03.01.32.10\r
+       (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
+       Wed, 03 Mar 2010 01:32:10 -0800 (PST)\r
+Received: by aw.hh.sledj.net (Postfix, from userid 1000)\r
+       id 214443A0A1; Wed,  3 Mar 2010 09:31:57 +0000 (GMT)\r
+From: David Edmondson <dme@dme.org>\r
+To: notmuch@notmuchmail.org\r
+Date: Wed,  3 Mar 2010 09:31:55 +0000\r
+Message-Id: <1267608715-16206-1-git-send-email-dme@dme.org>\r
+X-Mailer: git-send-email 1.7.0\r
+Subject: [notmuch] [PATCH] Appease the compiler.\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 03 Mar 2010 09:32:23 -0000\r
+\r
+---\r
+ lib/message.cc |    2 +-\r
+ 1 files changed, 1 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/lib/message.cc b/lib/message.cc\r
+index 0195050..5170422 100644\r
+--- a/lib/message.cc\r
++++ b/lib/message.cc\r
+@@ -427,7 +427,7 @@ notmuch_message_get_filename (notmuch_message_t *message)\r
+     const char *prefix = _find_prefix ("file-direntry");\r
+     int prefix_len = strlen (prefix);\r
+     Xapian::TermIterator i;\r
+-    char *direntry, *colon;\r
++    char *direntry = NULL, *colon;\r
+     const char *db_path, *directory, *basename;\r
+     unsigned int directory_id;\r
+     void *local = talloc_new (message);\r
+-- \r
+1.7.0\r
+\r