Re: notmuch and "mute" -- useful to anyone?
[notmuch-archives.git] / 14 / f7f2f5ee36cc2351ef059dd6a99d7b75a7778d
1 Return-Path: <bremner@unb.ca>\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 0FD37431FD0\r
6         for <notmuch@notmuchmail.org>; Fri, 25 Nov 2011 05:07:16 -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.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\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 U8A1gNIdE8bx for <notmuch@notmuchmail.org>;\r
16         Fri, 25 Nov 2011 05:07:15 -0800 (PST)\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 534EB431FB6\r
21         for <notmuch@notmuchmail.org>; Fri, 25 Nov 2011 05:07:15 -0800 (PST)\r
22 Received: from convex-new.cs.unb.ca ([131.202.13.154])\r
23         by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pAPD7DaC011683;\r
24         Fri, 25 Nov 2011 09:07:13 -0400\r
25 Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72)\r
26         (envelope-from <bremner@unb.ca>)\r
27         id 1RTvUn-00031W-Pu; Fri, 25 Nov 2011 09:07:13 -0400\r
28 From: David Bremner <david@tethera.net>\r
29 To: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= <aidecoe@aidecoe.name>,\r
30         notmuch@notmuchmail.org\r
31 Subject: Re: [PATCH 2/2] Fixed warnings for test/symbol-test.cc.\r
32 In-Reply-To: <1322218492-8300-2-git-send-email-aidecoe@aidecoe.name>\r
33 References: <1322218492-8300-1-git-send-email-aidecoe@aidecoe.name>\r
34         <1322218492-8300-2-git-send-email-aidecoe@aidecoe.name>\r
35 User-Agent: Notmuch/0.10~rc1+12~g53b921d (http://notmuchmail.org) Emacs/23.3.1\r
36         (x86_64-pc-linux-gnu)\r
37 Date: Fri, 25 Nov 2011 09:07:13 -0400\r
38 Message-ID: <8762i8bbb2.fsf@convex-new.cs.unb.ca>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=utf-8\r
41 Content-Transfer-Encoding: quoted-printable\r
42 Cc: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= <aidecoe@aidecoe.name>\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Fri, 25 Nov 2011 13:07:16 -0000\r
56 \r
57 On Fri, 25 Nov 2011 11:54:52 +0100, Amadeusz =C5=BBo=C5=82nowski <aidecoe@a=\r
58 idecoe.name> wrote:\r
59 > ---\r
60 > +  //notmuch_database_t *notmuch =3D\r
61 > +  notmuch_database_open ("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY);\r
62 \r
63 Leaving commented out code in is for people without version control ;).\r
64 \r
65 Shouldn't this cast to void?\r
66 \r
67 >=20=20\r
68 >    try{\r
69 > -    (void)new Xapian::WritableDatabase ("./nonexistant",                                     Xapian::DB_=\r
70 OPEN);\r
71 > +    (void)new Xapian::WritableDatabase ("./nonexistant", Xapian::DB_OPEN=\r
72 );\r
73 \r
74 This seems to be whitespace only?  I'm not against whitespace cleanup,\r
75 but please put it in seperate commits. Or am I staring past a real\r
76 change here?\r
77 \r
78 d\r
79 \r